aboutsummaryrefslogtreecommitdiff
path: root/termkey.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-101-11/+89
| | | | slow terminals
* Have 'termkey_advisereadable' return a value indicating if it's likely ↵Paul LeoNerd Evans2008-02-101-4/+9
| | | | 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-101-27/+70
| | | | 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-101-13/+29
|
* Define an 'int' typedef called termkey_keysym to use as keysym valuesPaul LeoNerd Evans2008-02-101-9/+9
|
* Avoid use of GLib; use fixed-size internal arrays for CSI/SS3->keycode lookupPaul LeoNerd Evans2008-02-101-50/+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-091-1/+167
|
* 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-071-165/+190
| | | | keys, rather than hardcoded
* Denote general status with return codes, not special key symbolsPaul LeoNerd Evans2008-02-071-45/+41
|
* Initial attemptPaul LeoNerd Evans2008-02-071-0/+438