Registry / cli / linefeed

linefeed

JSON →
library0.6.0rscratesunverified

Interactive terminal input reader.

# Cargo.toml [dependencies] linefeed = "0.6.0"
INSTALL
IMPORT
SIG · LINEFEED
L
linefeed
clirustv0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Reader
use linefeed::Reader;

Read lines interactively with history and editing.

use linefeed::{Reader, Signal}; fn main() -> linefeed::Result<()> { let mut reader = Reader::new("myapp")?; while let Some(line) = reader.read_line()? { println!("You said: {}", line); } Ok(()) }
Debug
Known issues
breakingLinefeed is no longer actively maintained; consider `rustyline` or `termion`.
fix
Switch to `rustyline` for a maintained alternative.
affects: >=0.6.0
Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
22
Resources
linefeed — cargo add linefeed · libregistry