editor-input

Crates.ioeditor-input
lib.rseditor-input
version0.1.2
sourcesrc
created_at2021-12-04 17:31:21.388647
updated_at2021-12-04 17:40:42.441873
descriptionUser input from $EDITOR
homepage
repositoryhttps://github.com/ulf5/rcwi
max_upload_size
id492299
size3,211
(ulf5)

documentation

README

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);
}
Commit count: 60

cargo fmt