2 unstable releases
0.2.0 | Aug 22, 2022 |
---|---|
0.1.0 | May 16, 2022 |
#11 in #rustyline
194 downloads per month
435KB
11K
SLoC
yatima-rustyLine
Rustyline with Wasm support
This project was forked from rustyline (Copyright 2015 Katsu Kawakami & Rustyline authors)
lib.rs
:
Readline for Rust
This implementation is based on Antirez's Linenoise
Example
Usage
let mut rl = yatima_rustyline::Editor::<()>::new()?;
let readline = rl.readline(">> ");
match readline {
Ok(line) => println!("Line: {:?}", line),
Err(_) => println!("No input"),
}
Dependencies
~3–14MB
~175K SLoC