Commit Graph

415 Commits

Author SHA1 Message Date
Paul LeoNerd Evans 354ba6b7c3 Allow registered keyinfo for C0/CSI/SS3/CSIfunc to override modifier bits; use this to implement Shift-Tab as CSI Z 2008-02-10 19:03:36 +00:00
Paul LeoNerd Evans 35d946e510 Also register 0x0d as another version of the ENTER key 2008-02-10 18:40:27 +00:00
Paul LeoNerd Evans f76b62a65a Interpret XTerm's CSI 27 ~ as modified generic key, report keypresses as appropriate 2008-02-10 18:19:43 +00:00
Paul LeoNerd Evans fd15f30120 Move most functionallity from getkey to 'do_codepoint()' 2008-02-10 18:13:17 +00:00
Paul LeoNerd Evans 516a1766a5 Bugfix to fill_utf8() to make it actually work right 2008-02-10 18:12:19 +00:00
Paul LeoNerd Evans 9884031625 Allow C0 codes to be registered names like the CSI/SS3s 2008-02-10 17:46:48 +00:00
Paul LeoNerd Evans dc9672603a Define an 'int' typedef called termkey_keysym to use as keysym values 2008-02-10 17:41:13 +00:00
Paul LeoNerd Evans 96adbe9741 Avoid use of GLib; use fixed-size internal arrays for CSI/SS3->keycode lookup 2008-02-10 17:34:05 +00:00
Paul LeoNerd Evans 1e9eb3719a Interpret 8bit SS3/CSI codes and remaining C1s as C-A-letter 2008-02-10 15:28:07 +00:00
Paul LeoNerd Evans daed589b5c Handle (normal cases) of UTF-8 - still doesn't handle C1/UTF-8 range yet 2008-02-09 19:30:37 +00:00
Paul LeoNerd Evans 64d0b4cb70 Cope correctly with EOF 2008-02-09 19:01:49 +00:00
Paul LeoNerd Evans 1f6ae5e40d Replaced custom arg1/arg2 CSI parser with generic arg[16] one 2008-02-07 02:47:15 +00:00
Paul LeoNerd Evans 63ed80a897 Reworking of CSI/SS3/CSIfunc recognition; use registered numbers + names for keys, rather than hardcoded 2008-02-07 02:21:14 +00:00
Paul LeoNerd Evans 6294cca6f9 Denote general status with return codes, not special key symbols 2008-02-07 01:17:59 +00:00
Paul LeoNerd Evans a503403226 Initial attempt 2008-02-07 00:58:41 +00:00