3 releases

0.1.2 Dec 4, 2021
0.1.1 Dec 4, 2021
0.1.0 Dec 4, 2021

#52 in #containing

MIT/Apache

4KB

editor-input

A simple library containing a method for accepting input from the editor specified by the $EDITOR environment variable (like git does).

Example

fn main() {
    let edited_string = editor_input::input_from_editor("placeholder text").unwrap();
    println!("{}", edited_string);
}

Dependencies

~2–11MB
~114K SLoC