erkyrath / glkote

A Javascript display library for IF interfaces
http://eblong.com/zarf/glk/glkote.html
MIT License
26 stars 11 forks source link

Support character input in Android Chrome (fixes #7) #61

Closed curiousdannii closed 2 years ago

curiousdannii commented 2 years ago

Finally worked out how to support character input in Android Chrome. Basically we attach a listener for the input event, and then take the first character of the input for the event. Fixes https://github.com/erkyrath/glkote/issues/7

erkyrath commented 2 years ago

Looks good from here. Thanks!

curiousdannii commented 2 years ago

Oops, sorry, should have checked more rather than just copying directly from my glkote fork.