e3eca8d51aUse vtable in driver to indirect calls to the CSI driver
Paul LeoNerd Evans
2008-10-06 23:36:14 +0100
f5c6ecf9afMoved CSI-related code out of termkey.c into new driver-csi.c
Paul LeoNerd Evans
2008-10-06 23:27:19 +0100
d871cb39c6Makefile now sensitive to DEBUG=1
Paul LeoNerd Evans
2008-10-06 23:24:54 +0100
ae8aafdee0Define 'TERMKEY_FORMAT_VIM' as a shortcut to make it format keys like Vim does
Paul LeoNerd Evans
2008-10-06 22:39:35 +0100
e0671d1a01Print Alt/Meta before Ctrl
Paul LeoNerd Evans
2008-10-06 22:39:00 +0100
0b8680daa4Added TERMKEY_FORMAT_WRAPBRACKET
Paul LeoNerd Evans
2008-10-06 22:33:49 +0100
5b24e42d90Added two more formatting options; CARETCTRL and ALTISMETA
Paul LeoNerd Evans
2008-10-06 22:22:09 +0100
f54687c583snprint_key() now takes a bitmask format, not a single boolean
Paul LeoNerd Evans
2008-10-06 22:02:12 +0100
a06d010504Added termkey_snprint_key() to render nice string outputs of key events
Paul LeoNerd Evans
2008-08-21 20:20:07 +0100
95e87a86d5Reworked 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
Paul LeoNerd Evans
2008-08-21 20:05:17 +0100
d4ace41d01Renamed .h file's include guard to avoid a C reserved identifier space
Paul LeoNerd Evans
2008-03-20 20:38:23 +0000
eb2fed629dCope correctly with XTerm's modified Unicode reporting of Ctrl-C for termination
Paul LeoNerd Evans
2008-02-23 23:17:31 +0000
db22cc6dc7Preserve modifiers on XTerm's CSI 27 ~ modified Unicode sequence
Paul LeoNerd Evans
2008-02-23 23:15:19 +0000
9dfd4f1116Renamed describe_sym to get_keyname
Paul LeoNerd Evans
2008-02-23 20:28:18 +0000
46e53d124dMoved termios magic out of demo.c into termkey.c where it belongs
Paul LeoNerd Evans
2008-02-23 20:26:04 +0000
8f8e96f015Implemented termkey_free()
Paul LeoNerd Evans
2008-02-23 20:07:48 +0000
dda9be9110More termios settings on startup, to ensure reporting of signal, flow control, and NL/CR keys
Paul LeoNerd Evans
2008-02-23 19:43:05 +0000
696d5258a5Make sure to initialise key->modifiers on unmodified CSIs
Paul LeoNerd Evans
2008-02-23 19:39:24 +0000
46ef83fdf4Nicer names for modifiers on printed output
Paul LeoNerd Evans
2008-02-23 19:37:27 +0000
efb04d3ee2Rearranged Home/End keys to better suit rxvt's naming, note 1/4 are now Find/Select
Paul LeoNerd Evans
2008-02-23 19:22:28 +0000
0962ee4f85Recognise full CSIfuncs list of F1 to F20 keys
Paul LeoNerd Evans
2008-02-10 20:39:22 +0000
14987e458cBugfix for unknown CSIfuncs
Paul LeoNerd Evans
2008-02-10 20:30:09 +0000
c36c12b53aImplement growing the buffer after input
Paul LeoNerd Evans
2008-02-10 20:29:59 +0000
53b0d0aca9More robust eatbytes() that guards against the buffer going negative, because size_t is not signed
Paul LeoNerd Evans
2008-02-10 20:24:25 +0000
31414eac3bImplement waittime polling to try to distinguish Esc, 1 from A-1, etc.. on slow terminals
Paul LeoNerd Evans
2008-02-10 20:22:33 +0000
c71e1928a2Have 'termkey_advisereadable' return a value indicating if it's likely useful to call it again
Paul LeoNerd Evans
2008-02-10 19:23:18 +0000
b3647c4861Avoid a memmove() every character by storing an intial offset for the input buffer, and only moving when it's more than half way across
Paul LeoNerd Evans
2008-02-10 19:15:29 +0000
354ba6b7c3Allow registered keyinfo for C0/CSI/SS3/CSIfunc to override modifier bits; use this to implement Shift-Tab as CSI Z
Paul LeoNerd Evans
2008-02-10 19:03:36 +0000
35d946e510Also register 0x0d as another version of the ENTER key
Paul LeoNerd Evans
2008-02-10 18:40:27 +0000
f76b62a65aInterpret XTerm's CSI 27 ~ as modified generic key, report keypresses as appropriate
Paul LeoNerd Evans
2008-02-10 18:19:43 +0000
fd15f30120Move most functionallity from getkey to 'do_codepoint()'
Paul LeoNerd Evans
2008-02-10 18:13:17 +0000
516a1766a5Bugfix to fill_utf8() to make it actually work right
Paul LeoNerd Evans
2008-02-10 18:12:19 +0000
9884031625Allow C0 codes to be registered names like the CSI/SS3s
Paul LeoNerd Evans
2008-02-10 17:46:48 +0000
dc9672603aDefine an 'int' typedef called termkey_keysym to use as keysym values
Paul LeoNerd Evans
2008-02-10 17:41:13 +0000
96adbe9741Avoid use of GLib; use fixed-size internal arrays for CSI/SS3->keycode lookup
Paul LeoNerd Evans
2008-02-10 17:34:05 +0000
1e9eb3719aInterpret 8bit SS3/CSI codes and remaining C1s as C-A-letter
Paul LeoNerd Evans
2008-02-10 15:28:07 +0000
daed589b5cHandle (normal cases) of UTF-8 - still doesn't handle C1/UTF-8 range yet
Paul LeoNerd Evans
2008-02-09 19:30:37 +0000
64d0b4cb70Cope correctly with EOF
Paul LeoNerd Evans
2008-02-09 19:01:49 +0000
1f6ae5e40dReplaced custom arg1/arg2 CSI parser with generic arg[16] one
Paul LeoNerd Evans
2008-02-07 02:47:15 +0000
63ed80a897Reworking of CSI/SS3/CSIfunc recognition; use registered numbers + names for keys, rather than hardcoded
Paul LeoNerd Evans
2008-02-07 02:21:14 +0000
6294cca6f9Denote general status with return codes, not special key symbols
Paul LeoNerd Evans
2008-02-07 01:17:59 +0000
a503403226Initial attempt
Paul LeoNerd Evans
2008-02-07 00:58:41 +0000