Expand description
A readline-like library For more information refer to the README as well as the examples/ directory for a demonstration of how to create and customize a Context.
Re-exports§
pub use keymap::*;
pub use prompt::*;
pub use cursor::*;
pub use editor_rules::*;
Modules§
- Track current grapheme offset for terminal cursor
- Provides DefaultEditorRules for editor behaviors with custom override function. See NewlineRule and WordDivideRule, the traits that compose editor behaviors.
- Interface for Vi and Emacs KeyMaps
- User-defined prompt.
Structs§
- Completer that can be seeded with a list of prefixes..
- A buffer for text in the line editor.
- Primary interface to readline-like functionality
- The core line editor. Displays and provides editing for history and the new buffer.
- Completer with no completions
- Event has context about the state of the editor and the EventKind and is consumed by Completer
- Completer for filenames in the current working_dir
- Structure encapsulating command history
Enums§
- A modification performed on a
Buffer
. These are used for the purpose of undo/redo.