File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use crate::{
88///
99/// | Key | Action
1010/// | :--------------------- | :-------------------------------------------
11- /// | <kbd>Enter</kbd> | Exit the editor
11+ /// | <kbd>Enter</kbd> | Exit the editor if input is valid, otherwise show error message
1212/// | <kbd>Ctrl + C</kbd> | Interrupt the current operation
1313/// | <kbd>←</kbd> | Move the cursor one character to the left
1414/// | <kbd>→</kbd> | Move the cursor one character to the right
@@ -18,7 +18,11 @@ use crate::{
1818/// | <kbd>↓</kbd> | Recall the next entry from history
1919/// | <kbd>Backspace</kbd> | Delete the character before the cursor
2020/// | <kbd>Ctrl + U</kbd> | Delete all characters in the current line
21- /// | <kbd>TAB</kbd> | Autocomplete the current input based on available suggestions
21+ /// | <kbd>Tab</kbd> | Autocomplete the current input based on available suggestions
22+ /// | <kbd>Alt + B</kbd> | Move the cursor to the previous nearest character from a set (default: whitespace)
23+ /// | <kbd>Alt + F</kbd> | Move the cursor to the next nearest character from a set (default: whitespace)
24+ /// | <kbd>Ctrl + W</kbd> | Erase to the previous nearest character from a set (default: whitespace)
25+ /// | <kbd>Alt + D</kbd> | Erase to the next nearest character from a set (default: whitespace)
2226pub fn default (
2327 event : & Event ,
2428 renderer : & mut preset:: readline:: render:: Renderer ,
You can’t perform that action at this time.
0 commit comments