Crate tcalc_rustyline

Source
Expand description

Readline for Rust

This implementation is based on Antirez’s Linenoise

§Example

Usage

let mut rl = tcalc_rustyline::Editor::<()>::new();
let readline = rl.readline(">> ");
match readline {
    Ok(line) => println!("Line: {:?}",line),
    Err(_)   => println!("No input"),
}

Re-exports§

Modules§

Structs§

Type Aliases§

  • The error type for I/O and Linux Syscalls (Errno)