String Key Codes Specification¶
Function io modules convert key input into a string format for convinient use that is often contained within functui.classes.InputEvent objects.
This format however is quite limited due to terminals and their historical reasons.
See also
If you want to see what key codes result from what key presses run the Print Input Event with ELM and curses example.
Recognised Non Printable Keys¶
escapetabbackspaceenterupdownleftrighthomeendpage uppage downdeleteinsertf1f2f3f4f5f6f7f8f9f10f11f12f13f14f15f16f17f18f19f20
Mouse¶
left mouseleft mouse releasedright mouseright mouse releasedmidle mousemidle mouse releasedmouse wheel upmouse wheel down
ctrl+ Combinations¶
ctrl+actrl+bctrl+cctrl+dctrl+ectrl+fctrl+gctrl+hctrl+iMISSING due to being same astabctrl+jMISSING due to being same asenterctrl+kctrl+lctrl+mMISSING due to being same asenterctrl+nctrl+octrl+pctrl+qctrl+rctrl+sctrl+tctrl+uctrl+vctrl+wctrl+xctrl+yctrl+zctrl+\ctrl+]ctrl+^ctrl+_
Bracketed paste¶
When pasting into a console, pasted text will be wrapped into brackets.
[pasted text]
Unknown¶
Unknown keycodes will be represented as unknown.
Alt¶
alt+ combinations are not supported.