aboutsummaryrefslogtreecommitdiff
path: root/driver-csi.c
Commit message (Collapse)AuthorAgeFilesLines
* Recognise rxvt-style mouse encodingPaul LeoNerd Evans2012-04-121-0/+20
|
* Document the errors set by termkey_new(), use errno rather than fprintf() to ↵Paul LeoNerd Evans2012-01-291-3/+0
| | | | stderr
* Mark new driver-csi internal variables as static so they don't result in ↵Paul LeoNerd Evans2012-01-221-5/+5
| | | | linkable symbols
* Fix another printf() %c charPaul LeoNerd Evans2012-01-201-1/+1
|
* Since CSI key info is the same for every CSI driver, just store one static ↵Paul LeoNerd Evans2012-01-201-194/+151
| | | | copy of it rather than one for every termkey instance - simplifies construct-time allocation
* fprintf() %c wants char, not unsigned charPaul LeoNerd Evans2012-01-201-4/+4
|
* Also handle new 'fixterms' spec CSI codepoint;modifiers u encodingPaul LeoNerd Evans2011-05-091-0/+6
|
* Implement mouse catching also in CSI driver, in case xterm-alike terminal ↵Paul LeoNerd Evans2009-11-261-0/+16
| | | | without 'key_mouse' terminfo string
* Renamed all type names to CamelCaseNames for visual distinctness, separate ↵Paul LeoNerd Evans2009-07-151-22/+22
| | | | from variables/functions
* Complete change of driver internals - peek and return size but don't eat ↵Paul LeoNerd Evans2008-12-101-12/+12
| | | | bytes; eat later in getkey()
* Make CSI driver's debugging output messages on unrecognised sequences ↵Paul LeoNerd Evans2008-11-121-6/+12
| | | | conditional on #ifdef DEBUG
* CSI driver shouldn't eat sequences it doesn't understand; leave them for ↵Paul LeoNerd Evans2008-11-121-13/+17
| | | | another driver
* Bugfix to 'unknown CSI' case in CSI driver - neater output message to avoid ↵Paul LeoNerd Evans2008-11-121-2/+16
| | | | uninitialised ints
* CSI driver should also load when TERM=screen because of screen's stupid way ↵Paul LeoNerd Evans2008-11-091-6/+13
| | | | of blind-forwarding keypresses it doesn't understand
* Driver getkey() can return TERMKEY_RES_NONE which attempts getkey_simple() ↵Paul LeoNerd Evans2008-11-091-1/+1
| | | | afterwards
* Drivers have namesPaul LeoNerd Evans2008-11-081-0/+2
|
* Pass driver_info as explicit void* parameter into driver methodsPaul LeoNerd Evans2008-11-081-4/+4
|
* Pass 'csi' value to static helper functions in driver-csiPaul LeoNerd Evans2008-11-081-10/+8
|
* Reuse common Esc-prefix code in getkey_simple() from CSI driver; avoids code ↵Paul LeoNerd Evans2008-11-031-44/+5
| | | | duplication
* Pass the 'force' value through to getkey_simple()Paul LeoNerd Evans2008-11-021-1/+1
|
* 'int' might not be wide enough to hold any Unicode codepoint; use 'long'Paul LeoNerd Evans2008-10-101-3/+3
|
* Added some TODO notes about handling realloc() failuresPaul LeoNerd Evans2008-10-091-0/+1
|
* Better free() tracking in constructor failure casesPaul LeoNerd Evans2008-10-091-0/+9
|
* Pass 'term' string into new_driver virtual method; have drivers sensitive to ↵Paul LeoNerd Evans2008-10-091-1/+11
| | | | it and return NULL if they can't handle. Try CSI driver first; only for xterm-alikes
* Moved all of the keynames out from driver-csi into termkey; where they belongPaul LeoNerd Evans2008-10-081-34/+34
|
* Pass an explicit 'force' parameter into driver's getkey rather than relying ↵Paul LeoNerd Evans2008-10-081-10/+10
| | | | on non-zero waittime
* Moved single byte and UTF-8 sequence recombiner out of driver-csi.c back ↵Paul LeoNerd Evans2008-10-081-92/+2
| | | | into termkey.c
* Moved all of the C0 registration and 'do_codepoint' logic out of driver-csi ↵Paul LeoNerd Evans2008-10-081-146/+10
| | | | back into termkey via another protected method 'emit_codepoint'
* s/eatbytes/eat_bytes/ - nicer API namePaul LeoNerd Evans2008-10-071-13/+13
|
* Moved 'eatbytes' back into core code, put a code ptr in the termkey struct ↵Paul LeoNerd Evans2008-10-071-32/+13
| | | | as a "protected" method
* Moved CSI key registration code to be private to CSI driverPaul LeoNerd Evans2008-10-061-24/+98
|
* Use vtable in driver to indirect calls to the CSI driverPaul LeoNerd Evans2008-10-061-3/+10
|
* Moved CSI-related code out of termkey.c into new driver-csi.cPaul LeoNerd Evans2008-10-061-0/+582