pub fn new() -> Result<Reader, Box<dyn Error>>
Expand description
New opens an empty text buffer in an editor and returns a Readable struct on success.
Example
/* Opens the user's editor */
let input = scrawl::new()?;
println!("{}", input.to_string()?);