Crate rustyline
Readline for Rust
This implementation is based on Antirez's Linenoise
Example
Usage
let mut rl = new?;
let readline = rl.readline;
match readline
# Ok::
Modules
- completion Completion API
- config Customize line editor
- error Contains error type for handling I/O and Errno errors
- highlight Syntax highlighting
- hint Hints (suggestions at the right of the prompt as you type).
- history History API
- line_buffer Line buffer with current cursor position
- validate Input validation API (Multi-line editing)
Structs
Traits
- Helper Syntax specific helper.
Type Aliases
-
DefaultEditor
Default editor with no helper and
DefaultHistory - Result The error type for I/O and Linux Syscalls (Errno)