You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: