@@ -370,9 +370,9 @@ func (c *Commands) defaultCommands() []*CommandItem {
370370
371371 // Add external editor command if $EDITOR is available.
372372 //
373− // TODO: Use [tea.EnvMsg] to get environment variable instead of os.Getenv;
374− // because os.Getenv does IO is breaks the TEA paradigm and is generally an
375− // antipattern.
373+ // TODO: Use [tea.EnvMsg] to get environment variables instead of os.Getenv;
374+ // reading the environment directly bypasses the TEA message system and is
375+ // generally an antipattern.
376376 if os.Getenv("EDITOR") != "" {
377377 commands = append(commands, NewCommandItem(c.com.Styles, "open_external_editor", "Open External Editor", "ctrl+o", ActionExternalEditor{}))
378378 }