From d52f4dc285b311dabb571931d09fdb5a8ae0d91d Mon Sep 17 00:00:00 2001 From: NI Date: Sun, 27 Dec 2020 20:58:24 +0800 Subject: [PATCH] Add Control+Q key to the Console screen tool bar --- ui/widgets/screen_console_keys.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ui/widgets/screen_console_keys.js b/ui/widgets/screen_console_keys.js index e8f01dd..8190b6d 100644 --- a/ui/widgets/screen_console_keys.js +++ b/ui/widgets/screen_console_keys.js @@ -624,6 +624,22 @@ export const consoleScreenKeys = [ which: 68, }, ], + [ + "Ctrl+Q", + { + altKey: false, + charCode: 0, + code: "KeyQ", + ctrlKey: false, + key: "q", + keyCode: 81, + location: 0, + metaKey: false, + repeat: false, + shiftKey: false, + which: 81, + }, + ], ], }, ];