Skip to content

Commit

Permalink
feat(term_keyboard): support Alt-A as Ctrl-A alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
holishing committed Jul 26, 2023
1 parent 16ae2b3 commit 6bfb04e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/term_keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6bfb04e

Please sign in to comment.