From acfce7b390284088c155d07444f8c7824cdc865d Mon Sep 17 00:00:00 2001 From: Justine Date: Sat, 18 Feb 2023 13:37:50 +0100 Subject: [PATCH] Ctrl+U cancels the line instead of Ctrl+T, which is more common --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 13eda51..d386bf2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -343,7 +343,7 @@ pub mod shell { write!(stdout, "{}", conf.promptline); }, - Key::Ctrl('t') => { + Key::Ctrl('u') => { clear_line(&max_pos, ¤t_pos); max_pos = 0; current_pos = 0;