mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 05:38:41 -09:00
Fix tab switching (#709)
* Passthrough tab switching keystrokes fixes #658 * fix formatting
This commit is contained in:
parent
e62a674c4c
commit
42a69e0c76
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ hterm.Keyboard.prototype.onKeyDown_ = function (e) {
|
||||||
console.warn('Uncaught dead key on international keyboard', e);
|
console.warn('Uncaught dead key on international keyboard', e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e.metaKey || e.altKey) {
|
if (e.metaKey || e.altKey || (e.ctrlKey && e.code === 'Tab')) {
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
// Test for valid keys in order to clear the terminal selection
|
// Test for valid keys in order to clear the terminal selection
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue