mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-11-03 07:18:30 +00:00
Fix #169
This commit is contained in:
parent
9b2f68a25d
commit
3e8bb98197
@ -4953,8 +4953,8 @@
|
||||
(term.isMac && ev.altKey && !ev.ctrlKey && !ev.metaKey) ||
|
||||
(term.isMSWindows && ev.altKey && ev.ctrlKey && !ev.metaKey);
|
||||
|
||||
// Don't invoke for arrows, pageDown, home, backspace, etc.
|
||||
return thirdLevelKey && (!ev.keyCode || ev.keyCode > 47);
|
||||
// Don't invoke for arrows, pageDown, home, backspace, etc. (on non-keypress events)
|
||||
return thirdLevelKey && (ev.type != 'keypress' || (!ev.keyCode || ev.keyCode > 47));
|
||||
}
|
||||
|
||||
function matchColor(r1, g1, b1) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user