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

Download history 13/week @ 2025-10-15 21/week @ 2025-10-22 35/week @ 2025-10-29 18/week @ 2025-11-12 76/week @ 2025-12-17 108/week @ 2025-12-24 107/week @ 2026-01-21 19/week @ 2026-01-28

126 downloads per month
Used in cicada

MIT/Apache

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