Documentation
¶
Overview ¶
Package editor resolves and launches the user's text editor — the shared contract behind the CLI's `task edit` and the TUI's `E` (open in $EDITOR), so the two faces pick the same editor and split its command the same way.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
Command builds the *exec.Cmd that opens path in prog, splitting prog on spaces so a multi-word editor ("code -w", "emacsclient -nw") keeps its flags. The caller wires up stdio — the CLI sets it on the returned cmd; the TUI hands the cmd to tea.ExecProcess, which inherits the terminal. A blank prog falls back to Resolve so a caller can't build an empty command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.