Ctrl+U cancels the line instead of Ctrl+T, which is more common
This commit is contained in:
parent
506007e71b
commit
acfce7b390
@ -343,7 +343,7 @@ pub mod shell {
|
|||||||
write!(stdout, "{}", conf.promptline);
|
write!(stdout, "{}", conf.promptline);
|
||||||
},
|
},
|
||||||
|
|
||||||
Key::Ctrl('t') => {
|
Key::Ctrl('u') => {
|
||||||
clear_line(&max_pos, ¤t_pos);
|
clear_line(&max_pos, ¤t_pos);
|
||||||
max_pos = 0;
|
max_pos = 0;
|
||||||
current_pos = 0;
|
current_pos = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user