Ctrl+U cancels the line instead of Ctrl+T, which is more common

This commit is contained in:
Justine 2023-02-18 13:37:50 +01:00
parent 506007e71b
commit acfce7b390

View File

@ -343,7 +343,7 @@ pub mod shell {
write!(stdout, "{}", conf.promptline);
},
Key::Ctrl('t') => {
Key::Ctrl('u') => {
clear_line(&max_pos, &current_pos);
max_pos = 0;
current_pos = 0;