Map more UTF-8 key events #3
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
At the moment we are only handling the space
" "
and keys in a nice way, but it'd be nice to be able to match onKeyDown Enter
orKeyDown "<enter>"
.Using a variant for all the keys may be a stretch, since we're parsing UTF-8 grapheme clusters, so at least some common ones we want to handle in a way that lets you match over KeyDown easily.
This is currently happening in the
minttea/io_loop.ml
in thetranslate
function:https://github.com/leostera/minttea/blob/main/minttea/io_loop.ml#L18
Currently implemented keys:
Missing keys:
The text was updated successfully, but these errors were encountered: