Crates.io | editor-input |
lib.rs | editor-input |
version | 0.1.2 |
source | src |
created_at | 2021-12-04 17:31:21.388647 |
updated_at | 2021-12-04 17:40:42.441873 |
description | User input from $EDITOR |
homepage | |
repository | https://github.com/ulf5/rcwi |
max_upload_size | |
id | 492299 |
size | 3,211 |
A simple library containing a method for accepting input from the editor
specified by the $EDITOR environment variable (like git
does).
fn main() {
let edited_string = editor_input::input_from_editor("placeholder text").unwrap();
println!("{}", edited_string);
}