File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use crate::{
8
8
///
9
9
/// | Key | Action
10
10
/// | :--------------------- | :-------------------------------------------
11
- /// | <kbd>Enter</kbd> | Exit the editor
11
+ /// | <kbd>Enter</kbd> | Exit the editor if input is valid, otherwise show error message
12
12
/// | <kbd>Ctrl + C</kbd> | Interrupt the current operation
13
13
/// | <kbd>←</kbd> | Move the cursor one character to the left
14
14
/// | <kbd>→</kbd> | Move the cursor one character to the right
@@ -18,7 +18,11 @@ use crate::{
18
18
/// | <kbd>↓</kbd> | Recall the next entry from history
19
19
/// | <kbd>Backspace</kbd> | Delete the character before the cursor
20
20
/// | <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)
22
26
pub fn default (
23
27
event : & Event ,
24
28
renderer : & mut preset:: readline:: render:: Renderer ,
You can’t perform that action at this time.
0 commit comments