Documentation
¶
Overview ¶
Package editor opens the user's configured text editor on a temporary file and returns the edited content. It is intentionally separate from internal/tui so that callers needing only an editor (not a Bubble Tea UI) don't depend on the heavier TUI package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanMessage ¶ added in v0.30.1
CleanMessage removes comment lines and surrounding blank lines from a message edited in the user's editor.
func Open ¶
Open opens the user's preferred editor (see Resolve) with the given initial content and returns the edited content, or an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.