aboutsummaryrefslogtreecommitdiff
path: root/driver-ti.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow passing fd = -1 to constructor to make an instance not associated with ↵Paul LeoNerd Evans2012-01-181-2/+2
| | | | an fd; must use push_bytes to provide it input
* Optionally support unibilium for reading terminfo instead of cursesPaul LeoNerd Evans2011-09-241-5/+41
|
* Neaten logic by loading terminfo strings in a separate function from the ↵Paul LeoNerd Evans2011-09-231-18/+26
| | | | constructor
* strdup() needs 'define _XOPEN_SOURCE 600 - Petr PavluPaul LeoNerd Evans2011-08-251-2/+1
|
* Solaris requires #define _XPG6Paul LeoNerd Evans2011-04-041-0/+1
|
* include <curses.h> before <term.h> as it's required in that order on SolarisPaul LeoNerd Evans2011-03-301-1/+1
|
* Moved mouse parsing code out of driver-ti.c into core termkey.cPaul LeoNerd Evans2009-11-261-10/+12
|
* Remember to zero key->modifiers for mouse eventsPaul LeoNerd Evans2009-11-251-0/+1
|
* Implement XTerm mouse parsing in terminfo driverPaul LeoNerd Evans2009-11-241-12/+49
|
* Renamed all type names to CamelCaseNames for visual distinctness, separate ↵Paul LeoNerd Evans2009-07-151-21/+21
| | | | from variables/functions
* Complete change of driver internals - peek and return size but don't eat ↵Paul LeoNerd Evans2008-12-101-3/+3
| | | | bytes; eat later in getkey()
* strdup() the terminfo keypad_local and keypad_xmit strings at construct ↵Paul LeoNerd Evans2008-12-031-4/+34
| | | | time, in case multiple instances and they change beneath us
* Use a C99 flexible array member rather than the [0] hackPaul LeoNerd Evans2008-12-021-1/+1
|
* Cast 'term' to (non-const) char* when passing to setupterm() because ↵Paul LeoNerd Evans2008-11-281-1/+3
| | | | terminfo's prototypes don't use const
* Use sizeof() on assigned variables rather than types, to make code a little ↵Paul LeoNerd Evans2008-11-241-2/+2
| | | | less fragile to type changes
* Fixed another signed-vs-unsigned int comparison in driver-ti.cPaul LeoNerd Evans2008-11-241-1/+1
|
* Only print about unrecognised terminfo variable names when debuggingPaul LeoNerd Evans2008-11-181-1/+4
|
* Compress trie nodes down to extent maps after loading, to save memoryPaul LeoNerd Evans2008-11-121-15/+59
|
* Use a trie instead of a linear list of sequence strings in the terminfo ↵Paul LeoNerd Evans2008-11-121-48/+151
| | | | driver - nicer lookup properties
* Handle malloc() failures during setup of driver-tiPaul LeoNerd Evans2008-11-121-4/+11
|
* Implemented free_driver() in terminfo driverPaul LeoNerd Evans2008-11-091-0/+5
|
* Driver getkey() can return TERMKEY_RES_NONE which attempts getkey_simple() ↵Paul LeoNerd Evans2008-11-091-2/+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-5/+5
|
* Recognise 'key_mouse' as an ignored terminfo keyPaul LeoNerd Evans2008-11-021-1/+3
|
* Terminfo driver needs to put terminal into 'keypad_xmit' mode when startingPaul LeoNerd Evans2008-11-021-0/+23
|
* Pass the 'force' value through to getkey_simple()Paul LeoNerd Evans2008-11-021-1/+1
|
* Added many more key symbols and names + translations from terminfoPaul LeoNerd Evans2008-10-101-0/+24
|
* Binary search terminfo funcname => termkey sym conversion, rather than linearPaul LeoNerd Evans2008-10-101-3/+18
|
* Added some TODO notes about handling realloc() failuresPaul LeoNerd Evans2008-10-091-1/+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-2/+5
| | | | it and return NULL if they can't handle. Try CSI driver first; only for xterm-alikes
* Added initial attempt at a terminfo-driven driverPaul LeoNerd Evans2008-10-081-0/+189