Documentation
¶
Overview ¶
Package editor edits issue text in the user's $EDITOR.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
func Command() []string
Command returns the user's editor command: $VISUAL, $EDITOR, or the first of nano, vim, and vi that is installed.
func Parse ¶
Parse splits an edited document into title and body. ok is false when the document is empty, meaning the user cancelled.
func ReadAndRemove ¶
ReadAndRemove reads the edited file and deletes its temp directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.