436 Commits (master)
 

Author SHA1 Message Date
Paul LeoNerd Evans 5b24e42d90 Added two more formatting options; CARETCTRL and ALTISMETA 15 years ago
Paul LeoNerd Evans f54687c583 snprint_key() now takes a bitmask format, not a single boolean 15 years ago
Paul LeoNerd Evans a06d010504 Added termkey_snprint_key() to render nice string outputs of key events 15 years ago
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 15 years ago
Paul LeoNerd Evans d4ace41d01 Renamed .h file's include guard to avoid a C reserved identifier space 15 years ago
Paul LeoNerd Evans eb2fed629d Cope correctly with XTerm's modified Unicode reporting of Ctrl-C for termination 16 years ago
Paul LeoNerd Evans db22cc6dc7 Preserve modifiers on XTerm's CSI 27 ~ modified Unicode sequence 16 years ago
Paul LeoNerd Evans 9dfd4f1116 Renamed describe_sym to get_keyname 16 years ago
Paul LeoNerd Evans 46e53d124d Moved termios magic out of demo.c into termkey.c where it belongs 16 years ago
Paul LeoNerd Evans 8f8e96f015 Implemented termkey_free() 16 years ago
Paul LeoNerd Evans dda9be9110 More termios settings on startup, to ensure reporting of signal, flow control, and NL/CR keys 16 years ago
Paul LeoNerd Evans 696d5258a5 Make sure to initialise key->modifiers on unmodified CSIs 16 years ago
Paul LeoNerd Evans 46ef83fdf4 Nicer names for modifiers on printed output 16 years ago
Paul LeoNerd Evans efb04d3ee2 Rearranged Home/End keys to better suit rxvt's naming, note 1/4 are now Find/Select 16 years ago
Paul LeoNerd Evans 0962ee4f85 Recognise full CSIfuncs list of F1 to F20 keys 16 years ago
Paul LeoNerd Evans 14987e458c Bugfix for unknown CSIfuncs 16 years ago
Paul LeoNerd Evans c36c12b53a Implement growing the buffer after input 16 years ago
Paul LeoNerd Evans 53b0d0aca9 More robust eatbytes() that guards against the buffer going negative, because size_t is not signed 16 years ago
Paul LeoNerd Evans 31414eac3b Implement waittime polling to try to distinguish Esc, 1 from A-1, etc.. on slow terminals 16 years ago
Paul LeoNerd Evans c71e1928a2 Have 'termkey_advisereadable' return a value indicating if it's likely useful to call it again 16 years ago
Paul LeoNerd Evans b3647c4861 Avoid a memmove() every character by storing an intial offset for the input buffer, and only moving when it's more than half way across 16 years ago
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 16 years ago
Paul LeoNerd Evans 35d946e510 Also register 0x0d as another version of the ENTER key 16 years ago
Paul LeoNerd Evans f76b62a65a Interpret XTerm's CSI 27 ~ as modified generic key, report keypresses as appropriate 16 years ago
Paul LeoNerd Evans fd15f30120 Move most functionallity from getkey to 'do_codepoint()' 16 years ago
Paul LeoNerd Evans 516a1766a5 Bugfix to fill_utf8() to make it actually work right 16 years ago
Paul LeoNerd Evans 9884031625 Allow C0 codes to be registered names like the CSI/SS3s 16 years ago
Paul LeoNerd Evans dc9672603a Define an 'int' typedef called termkey_keysym to use as keysym values 16 years ago
Paul LeoNerd Evans 96adbe9741 Avoid use of GLib; use fixed-size internal arrays for CSI/SS3->keycode lookup 16 years ago
Paul LeoNerd Evans 1e9eb3719a Interpret 8bit SS3/CSI codes and remaining C1s as C-A-letter 16 years ago
Paul LeoNerd Evans daed589b5c Handle (normal cases) of UTF-8 - still doesn't handle C1/UTF-8 range yet 16 years ago
Paul LeoNerd Evans 64d0b4cb70 Cope correctly with EOF 16 years ago
Paul LeoNerd Evans 1f6ae5e40d Replaced custom arg1/arg2 CSI parser with generic arg[16] one 16 years ago
Paul LeoNerd Evans 63ed80a897 Reworking of CSI/SS3/CSIfunc recognition; use registered numbers + names for keys, rather than hardcoded 16 years ago
Paul LeoNerd Evans 6294cca6f9 Denote general status with return codes, not special key symbols 16 years ago
Paul LeoNerd Evans a503403226 Initial attempt 16 years ago