Enum reedline::ReedlineEvent [−][src]
pub enum ReedlineEvent {
Show 15 variants
None,
HandleTab,
CtrlD,
CtrlC,
ClearScreen,
Enter,
Mouse,
Resize(u16, u16),
Edit(Vec<EditCommand>),
Repaint,
PreviousHistory,
Up,
Down,
NextHistory,
SearchHistory,
}
Expand description
Reedline supported actions.
Variants
No op event
Trigger Tab
Don’t know a better name for this
Don’t know a better name for this
Clears the screen and sets prompt to first line
Handle enter event
Mouse
trigger termimal resize
Edit(Vec<EditCommand>)
Run these commands in the editor
Tuple Fields of Edit
0: Vec<EditCommand>
Trigger full repaint
Navigate to the previous historic buffer
Move up to the previous line, if multiline, or up into the historic buffers
Move down to the next line, if multiline, or down through the historic buffers
Navigate to the next historic buffer
Search the history for a string
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ReedlineEvent
impl Send for ReedlineEvent
impl Sync for ReedlineEvent
impl Unpin for ReedlineEvent
impl UnwindSafe for ReedlineEvent
Blanket Implementations
Mutably borrows from an owned value. Read more