-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Tested in goforth: http://0x10co.de/hiwhx
Goforth expects enter to send the keycode spec'ed in the keyboard spec. 0x10co.de does generate that keycode, but then it also generates an extra 0x13. It looks like the key is being triggered through both the keydown event and the keypress event. The keypress event doesn't check keyMap, which explains why it's not being converted. But either way, it's extra.
Changing line 413 of ui.js to:
if(e.which >= 37 && e.which <= 40 || e.which === 8 || e.which === 13) e.preventDefault();
fixes it.
Metadata
Metadata
Assignees
Labels
No labels