aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Added documentation on termkey_{get,set}_flags()Paul LeoNerd Evans2008-11-102-1/+27
|
* Added (undocumented) termkey_{get,set}_flags() calls to APIPaul LeoNerd Evans2008-11-102-0/+13
|
* 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
* Implemented free_driver() in terminfo driverPaul LeoNerd Evans2008-11-091-0/+5
|
* When debugging, also print details of a key event when applicablePaul LeoNerd Evans2008-11-091-0/+36
|
* Load terminfo triver before CSI; in case they both applyPaul LeoNerd Evans2008-11-091-1/+1
|
* Allow stacking drivers in a linked list; try all of them at getkey() timePaul LeoNerd Evans2008-11-092-37/+88
|
* 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() ↵Paul LeoNerd Evans2008-11-093-6/+33
| | | | afterwards
* getkey_simple() should return TERMKEY_RES_NONE if no bytes available; as a ↵Paul LeoNerd Evans2008-11-091-0/+3
| | | | safety check
* Print name of driver on startup if debuggingPaul LeoNerd Evans2008-11-081-0/+4
|
* Drivers have namesPaul LeoNerd Evans2008-11-083-0/+5
|
* Pass driver_info as explicit void* parameter into driver methodsPaul LeoNerd Evans2008-11-084-18/+18
|
* Pass 'csi' value to static helper functions in driver-csiPaul LeoNerd Evans2008-11-081-10/+8
|
* Renamed termkey_{set,get}waittime() to termkey_{set,get}_waittime() to be ↵Paul LeoNerd Evans2008-11-069-33/+33
| | | | more consistent
* Don't document the termkey_free() function as it doesn't restore termios; ↵Paul LeoNerd Evans2008-11-063-6/+6
| | | | document termkey_destroy() instead
* Include demo.c and demo-async.c in the manpages under an EXAMPLE sectionPaul LeoNerd Evans2008-11-063-1/+28
|
* Added asynchronous demo which uses poll()Paul LeoNerd Evans2008-11-062-1/+62
|
* Also document termkey_advisereadable()Paul LeoNerd Evans2008-11-063-1/+33
|
* Added manpages for (most of) the external API functionsPaul LeoNerd Evans2008-11-067-3/+248
|
* Neater bitfield constants in .h file; added docs of TERMKEY_FORMAT_* constantsPaul LeoNerd Evans2008-11-031-12/+12
|
* Make sure all .c->.o builds depend on all .h filesPaul LeoNerd Evans2008-11-031-2/+2
|
* Better handling of incomplete UTF-8 sequences - just emit a UTF8_INVALID if ↵Paul LeoNerd Evans2008-11-031-2/+13
| | | | waittime is up
* Better handling in termkey_waitkey() of EOF conditionsPaul LeoNerd Evans2008-11-031-4/+12
|
* Reuse common Esc-prefix code in getkey_simple() from CSI driver; avoids code ↵Paul LeoNerd Evans2008-11-031-44/+5
| | | | duplication
* Bugfix to recursive 'meta-' getkey code - handle buffcount tooPaul LeoNerd Evans2008-11-031-2/+4
|
* Some platforms need -fPIC when compiling C code for eventual use in a shared ↵Paul LeoNerd Evans2008-11-031-1/+1
| | | | library
* Recognise 'key_mouse' as an ignored terminfo keyPaul LeoNerd Evans2008-11-021-1/+3
|
* Install a .pc file so that pkg-config worksPaul LeoNerd Evans2008-11-022-0/+11
|
* Terminfo driver needs to put terminal into 'keypad_xmit' mode when startingPaul LeoNerd Evans2008-11-021-0/+23
|
* Added new driver virtual methods 'start_driver' and 'stop_driver'Paul LeoNerd Evans2008-11-022-0/+8
|
* Remeber to handle Esc-prefixed keypresses in base getkey_simple() function - ↵Paul LeoNerd Evans2008-11-021-1/+36
| | | | involves some code duplication with CSI driver currently
* Pass the 'force' value through to getkey_simple()Paul LeoNerd Evans2008-11-024-5/+5
|
* Added 'make install' targetPaul LeoNerd Evans2008-11-021-0/+12
|
* Adjusted Makefile to build a shared libraryPaul LeoNerd Evans2008-11-021-2/+7
|
* Added many more key symbols and names + translations from terminfoPaul LeoNerd Evans2008-10-103-3/+71
|
* Binary search terminfo funcname => termkey sym conversion, rather than linearPaul LeoNerd Evans2008-10-101-3/+18
|
* 'int' might not be wide enough to hold any Unicode codepoint; use 'long'Paul LeoNerd Evans2008-10-104-10/+10
|
* Added some TODO notes about handling realloc() failuresPaul LeoNerd Evans2008-10-093-1/+4
|
* Better free() tracking in constructor failure casesPaul LeoNerd Evans2008-10-093-5/+34
|
* Respect user's CC and CFLAGSPaul LeoNerd Evans2008-10-091-5/+7
|
* Gracefully handle constructor failure rather than SEGVPaul LeoNerd Evans2008-10-091-0/+5
|
* Pass 'term' string into new_driver virtual method; have drivers sensitive to ↵Paul LeoNerd Evans2008-10-094-6/+21
| | | | it and return NULL if they can't handle. Try CSI driver first; only for xterm-alikes
* Adjustment to demo.c; just print the vim style formatPaul LeoNerd Evans2008-10-081-3/+1
|
* Added initial attempt at a terminfo-driven driverPaul LeoNerd Evans2008-10-084-2/+193
|
* Moved all of the keynames out from driver-csi into termkey; where they belongPaul LeoNerd Evans2008-10-082-34/+65
|
* Register keynames using a more extensible internal array; easier to add new onesPaul LeoNerd Evans2008-10-081-9/+21
|