From 6bfb04e50401804314a05ac84ea36765848cb53d Mon Sep 17 00:00:00 2001 From: r2 Date: Thu, 27 Jul 2023 02:35:25 +0800 Subject: [PATCH] feat(term_keyboard): support Alt-A as Ctrl-A alternative --- src/js/term_keyboard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/term_keyboard.js b/src/js/term_keyboard.js index 82005774..114024d9 100644 --- a/src/js/term_keyboard.js +++ b/src/js/term_keyboard.js @@ -111,6 +111,7 @@ export class TermKeyboard { case 'r': case 't': case 'w': + case 'a': // Ctrl+key return this._sendCharCode(e.key.toUpperCase().charCodeAt(0) - 64); }