Crate linefeed [−] [src]
Interactive input reader
Basic example
use linefeed::Reader; let mut reader = Reader::new("my-application").unwrap(); reader.set_prompt("my-app> "); while let Some(input) = reader.read_line().unwrap() { println!("got input {:?}", input); } println!("Goodbye.");
Reexports
pub use command::Command; |
pub use complete::{Completer, Completion}; |
pub use function::Function; |
pub use reader::Reader; |
pub use terminal::Terminal; |
Modules
chars |
Provides utilities for manipulating character values |
command |
Defines the set of line editing commands |
complete |
Provides utilities for implementing word completion |
function |
Provides the |
inputrc |
Parses configuration files in the format of GNU Readline |
memory |
Implements an in-memory |
reader |
Provides high-level line editing interface |
table |
Provides utilities for formatting strings in a table |
terminal |
Provides a low-level terminal interface |
util |
Provides miscellaneous utilities |