Function editor_input::input_from_editor[][src]

pub fn input_from_editor(placeholder: &str) -> Result<String, EditorInputError>
Expand description

Opens the editor specified by the $EDITOR environment variable (fallback vi).

Arguments

  • placeholder - Text that will be present in the temporary file being edited