[][src]Function scrawl::new

pub fn new() -> Result<String, ScrawlError>

New opens an empty text buffer in an editor and returns a Result with the contents.

Example

    let output = scrawl::new()?;
    println!("{}", output);