aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Moved 'eatbytes' back into core code, put a code ptr in the termkey struct ↵Paul LeoNerd Evans2008-10-073-32/+43
| | | | as a "protected" method
* Support a list of potential backend driversPaul LeoNerd Evans2008-10-071-2/+17
|
* Moved CSI key registration code to be private to CSI driverPaul LeoNerd Evans2008-10-063-105/+98
|
* Use vtable in driver to indirect calls to the CSI driverPaul LeoNerd Evans2008-10-063-15/+19
|
* Moved CSI-related code out of termkey.c into new driver-csi.cPaul LeoNerd Evans2008-10-064-562/+635
|
* Makefile now sensitive to DEBUG=1Paul LeoNerd Evans2008-10-061-0/+4
|
* Define 'TERMKEY_FORMAT_VIM' as a shortcut to make it format keys like Vim doesPaul LeoNerd Evans2008-10-061-0/+4
|
* Print Alt/Meta before CtrlPaul LeoNerd Evans2008-10-061-6/+6
|
* Added TERMKEY_FORMAT_WRAPBRACKETPaul LeoNerd Evans2008-10-063-8/+20
|
* Added two more formatting options; CARETCTRL and ALTISMETAPaul LeoNerd Evans2008-10-063-3/+24
|
* snprint_key() now takes a bitmask format, not a single booleanPaul LeoNerd Evans2008-10-062-2/+8
|
* Added termkey_snprint_key() to render nice string outputs of key eventsPaul LeoNerd Evans2008-08-213-24/+49
|
* Reworked events to be type/code/mod rather than flags/code/mod; make F[n] ↵Paul LeoNerd Evans2008-08-213-181/+186
| | | | keys their own (parametric) type, rather than using keysyms for them
* Renamed .h file's include guard to avoid a C reserved identifier spacePaul LeoNerd Evans2008-03-201-2/+2
|
* Cope correctly with XTerm's modified Unicode reporting of Ctrl-C for terminationPaul LeoNerd Evans2008-02-231-2/+2
|
* Preserve modifiers on XTerm's CSI 27 ~ modified Unicode sequencePaul LeoNerd Evans2008-02-231-0/+2
|
* Renamed describe_sym to get_keynamePaul LeoNerd Evans2008-02-233-16/+13
|
* Moved termios magic out of demo.c into termkey.c where it belongsPaul LeoNerd Evans2008-02-233-18/+30
|
* Implemented termkey_free()Paul LeoNerd Evans2008-02-232-0/+11
|
* More termios settings on startup, to ensure reporting of signal, flow ↵Paul LeoNerd Evans2008-02-232-3/+3
| | | | control, and NL/CR keys
* Make sure to initialise key->modifiers on unmodified CSIsPaul LeoNerd Evans2008-02-231-0/+2
|
* Nicer names for modifiers on printed outputPaul LeoNerd Evans2008-02-231-6/+6
|
* Rearranged Home/End keys to better suit rxvt's naming, note 1/4 are now ↵Paul LeoNerd Evans2008-02-232-4/+8
| | | | Find/Select
* Recognise full CSIfuncs list of F1 to F20 keysPaul LeoNerd Evans2008-02-102-0/+20
|
* Bugfix for unknown CSIfuncsPaul LeoNerd Evans2008-02-101-1/+1
|
* Implement growing the buffer after inputPaul LeoNerd Evans2008-02-101-2/+5
|
* More robust eatbytes() that guards against the buffer going negative, ↵Paul LeoNerd Evans2008-02-101-4/+5
| | | | because size_t is not signed
* Implement waittime polling to try to distinguish Esc, 1 from A-1, etc.. on ↵Paul LeoNerd Evans2008-02-102-11/+93
| | | | slow terminals
* Have 'termkey_advisereadable' return a value indicating if it's likely ↵Paul LeoNerd Evans2008-02-102-5/+11
| | | | useful to call it again
* Avoid a memmove() every character by storing an intial offset for the input ↵Paul LeoNerd Evans2008-02-101-23/+39
| | | | buffer, and only moving when it's more than half way across
* Allow registered keyinfo for C0/CSI/SS3/CSIfunc to override modifier bits; ↵Paul LeoNerd Evans2008-02-102-27/+74
| | | | use this to implement Shift-Tab as CSI Z
* Also register 0x0d as another version of the ENTER keyPaul LeoNerd Evans2008-02-101-0/+1
|
* Interpret XTerm's CSI 27 ~ as modified generic key, report keypresses as ↵Paul LeoNerd Evans2008-02-101-3/+9
| | | | appropriate
* Move most functionallity from getkey to 'do_codepoint()'Paul LeoNerd Evans2008-02-101-141/+102
|
* Bugfix to fill_utf8() to make it actually work rightPaul LeoNerd Evans2008-02-101-2/+3
|
* Allow C0 codes to be registered names like the CSI/SS3sPaul LeoNerd Evans2008-02-102-13/+30
|
* Define an 'int' typedef called termkey_keysym to use as keysym valuesPaul LeoNerd Evans2008-02-102-15/+17
|
* Avoid use of GLib; use fixed-size internal arrays for CSI/SS3->keycode lookupPaul LeoNerd Evans2008-02-102-53/+61
|
* Interpret 8bit SS3/CSI codes and remaining C1s as C-A-letterPaul LeoNerd Evans2008-02-101-2/+17
|
* Handle (normal cases) of UTF-8 - still doesn't handle C1/UTF-8 range yetPaul LeoNerd Evans2008-02-092-3/+171
|
* Cope correctly with EOFPaul LeoNerd Evans2008-02-091-1/+4
|
* Replaced custom arg1/arg2 CSI parser with generic arg[16] onePaul LeoNerd Evans2008-02-071-22/+34
|
* Reworking of CSI/SS3/CSIfunc recognition; use registered numbers + names for ↵Paul LeoNerd Evans2008-02-073-168/+200
| | | | keys, rather than hardcoded
* Denote general status with return codes, not special key symbolsPaul LeoNerd Evans2008-02-073-52/+54
|
* Initial attemptPaul LeoNerd Evans2008-02-074-0/+615