Keyboard Events
Notes:
- Use setkeydown to intercept ASCII keys.
- Use setkeyaction to intercept arrow keys, function keys
home, end, page-up, page-down, insert, delete, etc..
- The constants ESC, BKSP, '\t'
and '\n' are ASCII characters.
- The constants INS, DEL
HOME, END,
PGUP, PGDN,
F1 through to F10,
LEFT, RIGHT,
UP and DOWN
are non-ASCII key actions.
- See also: keyevent.c