From d5badd135bf33c3274147ce4c6963270988e2b66 Mon Sep 17 00:00:00 2001 From: Ni Rui Date: Fri, 12 Aug 2022 19:10:33 +0800 Subject: [PATCH] Added Ctrl+T (charactor transposing for shell such as Bash) to Console Control Keys list --- ui/widgets/screen_console_keys.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/ui/widgets/screen_console_keys.js b/ui/widgets/screen_console_keys.js index 1a3d329..8a8e472 100644 --- a/ui/widgets/screen_console_keys.js +++ b/ui/widgets/screen_console_keys.js @@ -529,7 +529,7 @@ export const consoleScreenKeys = [ }, ], [ - "Ctrl+A", + "Ctrl+T", { altKey: false, charCode: 0, @@ -656,6 +656,22 @@ export const consoleScreenKeys = [ which: 88, }, ], + [ + "Ctrl+T", + { + altKey: false, + charCode: 0, + code: "KeyT", + ctrlKey: true, + key: "t", + keyCode: 84, + location: 0, + metaKey: false, + repeat: false, + shiftKey: false, + which: 84, + }, + ], ], }, ];