aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Tiny bugfix to termkey.c's initialiser; actually handle multiple driver ↵Paul LeoNerd Evans2008-10-081-0/+1
| | | | search properly
* Pass an explicit 'force' parameter into driver's getkey rather than relying ↵Paul LeoNerd Evans2008-10-083-20/+13
| | | | on non-zero waittime
* Moved single byte and UTF-8 sequence recombiner out of driver-csi.c back ↵Paul LeoNerd Evans2008-10-083-104/+114
| | | | into termkey.c
* Moved all of the C0 registration and 'do_codepoint' logic out of driver-csi ↵Paul LeoNerd Evans2008-10-083-146/+148
| | | | back into termkey via another protected method 'emit_codepoint'
* s/eatbytes/eat_bytes/ - nicer API namePaul LeoNerd Evans2008-10-073-17/+17
|
* Moved 'eatbytes' back into core code, put a code ptr in the termkey struct ↵Paul LeoNerd Evans2008-10-073-32/+43
| | | | as a "protected" method
* 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-063-105/+98
|
* Use vtable in driver to indirect calls to the CSI driverPaul LeoNerd Evans2008-10-063-15/+19
|
* Moved CSI-related code out of termkey.c into new driver-csi.cPaul LeoNerd Evans2008-10-064-562/+635
|
* Makefile now sensitive to DEBUG=1Paul LeoNerd Evans2008-10-061-0/+4
|
* Define 'TERMKEY_FORMAT_VIM' as a shortcut to make it format keys like Vim doesPaul LeoNerd Evans2008-10-061-0/+4
|
* Print Alt/Meta before CtrlPaul LeoNerd Evans2008-10-061-6/+6
|