aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Resort back to using GNU sed in .sh built manpages, as we only need them at ↵Paul LeoNerd Evans2008-12-102-2/+6
| | | | 'make dist' time now; doesn't matter that BSD can't run them
* Make termkey_getkey() set a peeked key structure if it returns TERMKEY_RET_AGAINPaul LeoNerd Evans2008-12-102-14/+20
|
* Complete change of driver internals - peek and return size but don't eat ↵Paul LeoNerd Evans2008-12-104-38/+48
| | | | bytes; eat later in getkey()
* Linefeed properly in main() in demo filesPaul LeoNerd Evans2008-12-082-2/+4
|
* Documentation fix for termkey_get_fd - returns int, not voidPaul LeoNerd Evans2008-12-021-1/+1
|
* Make sure only to slide buffer down when returning a real key to the user, ↵Paul LeoNerd Evans2008-12-061-7/+10
| | | | or else it might upset the meta-key logic when it returns
* Make common static function getkey(), roll functionallity of ↵Paul LeoNerd Evans2008-12-051-92/+56
| | | | termkey_getkey{,_force}() into it
* 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
|
* Added termkey_keyname2sym() to APIPaul LeoNerd Evans2008-12-024-1/+39
|
* Added termkey_get_fd() to APIPaul LeoNerd Evans2008-12-014-1/+27
|
* Extra documentation about the three types of key event structure, and what ↵Paul LeoNerd Evans2008-11-301-3/+3
| | | | the code members mean
* Use shell natively to embed demo .c files in manpages rather than invoking ↵Paul LeoNerd Evans2008-11-282-2/+2
| | | | sed, because OpenBSD's sed doesn't seem to like this
* 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
* Make on_key() static in demo-async.c to shut up silly GCC warningsPaul LeoNerd Evans2008-11-241-1/+1
|
* Fixed another signed-vs-unsigned int comparison in driver-ti.cPaul LeoNerd Evans2008-11-241-1/+1
|
* Make sure l is always initialised in termkey_snprint_key()Paul LeoNerd Evans2008-11-241-1/+1
|
* Make termkey_new_full() static for now until we expose the API fullyPaul LeoNerd Evans2008-11-241-1/+4
|
* Fixed some signed/unsigned integer mismatches, including one important bugPaul LeoNerd Evans2008-11-241-4/+4
|
* Export a gzip rather than bzip2 archivePaul LeoNerd Evans2008-11-241-2/+2
|
* Bump VERSION_MINOR to 0.1Paul LeoNerd Evans2008-11-181-1/+1
|
* Remove actual .so file on 'make clean'Paul LeoNerd Evans2008-11-181-1/+1
|
* Install to SONAME.MINOR and symlink to SONAME and basenamePaul LeoNerd Evans2008-11-181-1/+2
|
* Only print about unrecognised terminfo variable names when debuggingPaul LeoNerd Evans2008-11-181-1/+4
|
* Also added 'make dist' target to build distribution tarballPaul LeoNerd Evans2008-11-181-0/+6
|
* Split Makefile into two halves; added 'make distdir' target for building ↵Paul LeoNerd Evans2008-11-181-15/+32
| | | | distribution tarballs
* Document the TERMKEY_CHECK_VERSION macroPaul LeoNerd Evans2008-11-181-0/+4
|
* Better Makefile support for built manpages and termkey.h filePaul LeoNerd Evans2008-11-181-2/+5
|
* Added .bzrignore patterns for other built filesPaul LeoNerd Evans2008-11-161-0/+4
|
* Added compile-vs-runtime library version checksPaul LeoNerd Evans2008-11-164-0/+26
|
* Store major and minor version number in Makefile; substitute #defines in ↵Paul LeoNerd Evans2008-11-163-2/+14
| | | | termkey.h at build time
* 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
|
* 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
|