static/tgal.js (keyevent): Discard key events with spurious modifiers. master
authorMark Wooding <mdw@distorted.org.uk>
Thu, 22 Jun 2023 11:15:59 +0000 (12:15 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 22 Jun 2023 11:15:59 +0000 (12:15 +0100)
commit8b42290939d6396f59dddb9d202bcda23f79ea0a
tree67282dfb725b86f3253805b8122fe4dae30044ca
parent252d02c202a0b1ed421edf1c9c65122f000a1e18
static/tgal.js (keyevent): Discard key events with spurious modifiers.

Allow shift with `^', `<' and `>' because they require that on common
keyboard layouts (though not always), and because pressing shift gives a
different result if it's not needed; forbid modifiers with cursor keys,
space, and backspace.
static/tgal.js