# Functions
CaptureInput opens a temporary file in a text editor and returns the written bytes on success or an error on failure.
OpenFile opens filename in a text editor.
PreferredEditor returns the user's editor as defined by the `$EDITOR` environment variable, or the `DefaultEditor` if it is not set.
# Constants
DefaultEditor will always fall back to vi.
# Type aliases
PreferredEditorResolver is a function that returns an editor that the user prefers to use, such as the configured `$EDITOR` environment variable.