Commit Graph

20 Commits

Author SHA1 Message Date
Paul LeoNerd Evans ae8aafdee0 Define 'TERMKEY_FORMAT_VIM' as a shortcut to make it format keys like Vim does 2008-10-06 22:39:35 +01:00
Paul LeoNerd Evans 0b8680daa4 Added TERMKEY_FORMAT_WRAPBRACKET 2008-10-06 22:33:49 +01:00
Paul LeoNerd Evans 5b24e42d90 Added two more formatting options; CARETCTRL and ALTISMETA 2008-10-06 22:22:09 +01:00
Paul LeoNerd Evans f54687c583 snprint_key() now takes a bitmask format, not a single boolean 2008-10-06 22:02:12 +01:00
Paul LeoNerd Evans a06d010504 Added termkey_snprint_key() to render nice string outputs of key events 2008-08-21 20:20:07 +01:00
Paul LeoNerd Evans 95e87a86d5 Reworked events to be type/code/mod rather than flags/code/mod; make F[n] keys their own (parametric) type, rather than using keysyms for them 2008-08-21 20:05:17 +01:00
Paul LeoNerd Evans d4ace41d01 Renamed .h file's include guard to avoid a C reserved identifier space 2008-03-20 20:38:23 +00:00
Paul LeoNerd Evans 9dfd4f1116 Renamed describe_sym to get_keyname 2008-02-23 20:28:18 +00:00
Paul LeoNerd Evans 46e53d124d Moved termios magic out of demo.c into termkey.c where it belongs 2008-02-23 20:26:04 +00:00
Paul LeoNerd Evans efb04d3ee2 Rearranged Home/End keys to better suit rxvt's naming, note 1/4 are now Find/Select 2008-02-23 19:22:28 +00:00
Paul LeoNerd Evans 0962ee4f85 Recognise full CSIfuncs list of F1 to F20 keys 2008-02-10 20:39:22 +00:00
Paul LeoNerd Evans 31414eac3b Implement waittime polling to try to distinguish Esc, 1 from A-1, etc.. on slow terminals 2008-02-10 20:22:33 +00:00
Paul LeoNerd Evans c71e1928a2 Have 'termkey_advisereadable' return a value indicating if it's likely useful to call it again 2008-02-10 19:23:18 +00:00
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 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 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 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