aboutsummaryrefslogtreecommitdiff
path: root/termkey.c
Commit message (Expand)AuthorAgeFilesLines
* Allow stacking drivers in a linked list; try all of them at getkey() timePaul LeoNerd Evans2008-11-091-35/+80
* If debugging, print verbose output about internals of getkey operationPaul LeoNerd Evans2008-11-091-2/+61
* Driver getkey() can return TERMKEY_RES_NONE which attempts getkey_simple() af...Paul LeoNerd Evans2008-11-091-3/+31
* getkey_simple() should return TERMKEY_RES_NONE if no bytes available; as a sa...Paul LeoNerd Evans2008-11-091-0/+3
* Print name of driver on startup if debuggingPaul LeoNerd Evans2008-11-081-0/+4
* Pass driver_info as explicit void* parameter into driver methodsPaul LeoNerd Evans2008-11-081-5/+5
* Renamed termkey_{set,get}waittime() to termkey_{set,get}_waittime() to be mor...Paul LeoNerd Evans2008-11-061-2/+2
* Better handling of incomplete UTF-8 sequences - just emit a UTF8_INVALID if w...Paul LeoNerd Evans2008-11-031-2/+13
* Better handling in termkey_waitkey() of EOF conditionsPaul LeoNerd Evans2008-11-031-4/+12
* Bugfix to recursive 'meta-' getkey code - handle buffcount tooPaul LeoNerd Evans2008-11-031-2/+4
* Added new driver virtual methods 'start_driver' and 'stop_driver'Paul LeoNerd Evans2008-11-021-0/+6
* Remeber to handle Esc-prefixed keypresses in base getkey_simple() function - ...Paul LeoNerd Evans2008-11-021-1/+36
* Pass the 'force' value through to getkey_simple()Paul LeoNerd Evans2008-11-021-2/+2
* Added many more key symbols and names + translations from terminfoPaul LeoNerd Evans2008-10-101-0/+22
* 'int' might not be wide enough to hold any Unicode codepoint; use 'long'Paul LeoNerd Evans2008-10-101-5/+5
* Added some TODO notes about handling realloc() failuresPaul LeoNerd Evans2008-10-091-0/+2
* Better free() tracking in constructor failure casesPaul LeoNerd Evans2008-10-091-5/+16
* Pass 'term' string into new_driver virtual method; have drivers sensitive to ...Paul LeoNerd Evans2008-10-091-2/+4
* Added initial attempt at a terminfo-driven driverPaul LeoNerd Evans2008-10-081-0/+1
* Moved all of the keynames out from driver-csi into termkey; where they belongPaul LeoNerd Evans2008-10-081-0/+31
* Register keynames using a more extensible internal array; easier to add new onesPaul LeoNerd Evans2008-10-081-9/+21
* Tiny bugfix to termkey.c's initialiser; actually handle multiple driver searc...Paul LeoNerd Evans2008-10-081-0/+1
* Pass an explicit 'force' parameter into driver's getkey rather than relying o...Paul LeoNerd Evans2008-10-081-9/+2
* Moved single byte and UTF-8 sequence recombiner out of driver-csi.c back into...Paul LeoNerd Evans2008-10-081-1/+111
* Moved all of the C0 registration and 'do_codepoint' logic out of driver-csi b...Paul LeoNerd Evans2008-10-081-0/+116
* s/eatbytes/eat_bytes/ - nicer API namePaul LeoNerd Evans2008-10-071-3/+3
* Moved 'eatbytes' back into core code, put a code ptr in the termkey struct as...Paul LeoNerd Evans2008-10-071-0/+24
* 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-061-70/+0
* Use vtable in driver to indirect calls to the CSI driverPaul LeoNerd Evans2008-10-061-9/+5
* Moved CSI-related code out of termkey.c into new driver-csi.cPaul LeoNerd Evans2008-10-061-560/+12
* Print Alt/Meta before CtrlPaul LeoNerd Evans2008-10-061-6/+6
* Added TERMKEY_FORMAT_WRAPBRACKETPaul LeoNerd Evans2008-10-061-0/+15
* Added two more formatting options; CARETCTRL and ALTISMETAPaul LeoNerd Evans2008-10-061-1/+18
* snprint_key() now takes a bitmask format, not a single booleanPaul LeoNerd Evans2008-10-061-1/+3
* Added termkey_snprint_key() to render nice string outputs of key eventsPaul LeoNerd Evans2008-08-211-0/+41
* Reworked events to be type/code/mod rather than flags/code/mod; make F[n] key...Paul LeoNerd Evans2008-08-211-136/+143
* 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-231-11/+11
* Moved termios magic out of demo.c into termkey.c where it belongsPaul LeoNerd Evans2008-02-231-0/+27
* Implemented termkey_free()Paul LeoNerd Evans2008-02-231-0/+9
* More termios settings on startup, to ensure reporting of signal, flow control...Paul LeoNerd Evans2008-02-231-2/+1
* Make sure to initialise key->modifiers on unmodified CSIsPaul LeoNerd Evans2008-02-231-0/+2
* Rearranged Home/End keys to better suit rxvt's naming, note 1/4 are now Find/...Paul LeoNerd Evans2008-02-231-2/+4
* Recognise full CSIfuncs list of F1 to F20 keysPaul LeoNerd Evans2008-02-101-0/+12
* 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, because...Paul LeoNerd Evans2008-02-101-4/+5
* Implement waittime polling to try to distinguish Esc, 1 from A-1, etc.. on sl...Paul LeoNerd Evans2008-02-101-11/+89
* Have 'termkey_advisereadable' return a value indicating if it's likely useful...Paul LeoNerd Evans2008-02-101-4/+9