Add ignore list. Update tty.js to use new-style key location data.
This commit is contained in:
parent
a2b686ba60
commit
8457513636
|
@ -0,0 +1,2 @@
|
|||
*~
|
||||
sync.sh
|
2
tty.js
2
tty.js
|
@ -675,7 +675,7 @@ function TTY(screenElement, keyboardElement, bell) {
|
|||
case '7':
|
||||
case '8':
|
||||
case '9':
|
||||
if (e.location === KeyboardEvent.DOM_KEY_LOCATION_NUMPAD) {
|
||||
if (e.keyLocation === KeyboardEvent.DOM_KEY_LOCATION_NUMPAD) {
|
||||
// Numpad, presumably - allow but nothing special
|
||||
return ord(e.keyName);
|
||||
} else if (e.ctrlKey) {
|
||||
|
|
Loading…
Reference in New Issue