Expand description
Command-line input reading with history.
See crate ::rustyline
.
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§
- Changeset
- Undo manager
- Config
- User preferences
- Context
- Completion/suggestion context
- Editor
- Line editor
- Event
Context - Give access to user input.
- KeyEvent
- Input key pressed and modifiers
- Modifiers
- The set of modifier keys that were triggered along with a key press.
Enums§
- Anchor
- Where to paste (relative to cursor position)
- At
- Where to move with respect to word boundary
- Behavior
- Should the editor use stdio
- Char
Search - character search
- Cmd
- Commands
- Color
Mode - Colorization mode
- Completion
Type - Tab completion style
- Edit
Mode - Style of editing / Standard keymaps
- Event
- Input event
- Event
Handler - Event handler
- Grapheme
Cluster Mode - Tell how grapheme clusters are supported / rendered.
- History
Duplicates - History filter
- Input
Mode - Vi input modes
- KeyCode
- Input key pressed
- Movement
- Where to move
- Word
- Different word definitions
Traits§
- Conditional
Event Handler - May behave differently depending on:
- External
Printer - External printer
- Helper
- Syntax specific helper.
Type Aliases§
- Default
Editor - Default editor with no helper and
DefaultHistory
- Repeat
Count - The number of times one command should be repeated.
- Result
- The error type for I/O and Linux Syscalls (Errno)