4 releases
| 0.7.3 | Dec 18, 2025 |
|---|---|
| 0.7.2 | Apr 19, 2025 |
| 0.7.1-beta | Apr 13, 2025 |
| 0.7.0 | Apr 10, 2025 |
#619 in Command-line interface
126 downloads per month
Used in cicada
270KB
6K
SLoC
Provides a configurable, concurrent, extensible, interactive input reader for Unix terminals and Windows console.
Configuration is compatible with GNU Readline.
The main entry to interactive read operations is the Interface type.
Basic example
use lineread::{Interface, ReadResult};
let mut reader = Interface::new("my-application")?;
reader.set_prompt("my-app> ")?;
while let ReadResult::Input(input) = reader.read_line()? {
println!("got input {:?}", input);
}
println!("Goodbye.");
linefeed
linefeed is a configurable, concurrent, extensible, interactive input reader for Unix terminals and Windows console.
This is a linefeed fork
For the cicada shell.
Dependencies
~6.5MB
~127K SLoC