migrate on-key to text-input callbacks
Replace the 400-line on-key function with cl-tty text-input callbacks. Add on-cancel, on-tab, on-history slots to cl-tty's text-input widget. Remove defkeymap :local up/down/escape handlers. Remove (member k '(:enter :tab :escape :up :down)) from process-key-event. PageUp/PageDown stay in keymap, routed to handle-ppage/handle-npage. Fix XDG cl-tty.asd to remove stale select-package/select references and add missing markdown-package/markdown entries. Fix #\) character literal (not valid in all contexts). Fix several missing closing parentheses in handle-tab and command-dispatch.
This commit is contained in: