aboutsummaryrefslogtreecommitdiff
path: root/termkey-internal.h
Commit message (Collapse)AuthorAgeFilesLines
* WIP: Is mine now (^3^)Přemysl Janouch2014-09-231-69/+87
| | | | | | | | | | | | | | | | Seriously though, I've got some issues with how this thing is designed, as well as with its formatting, and when you add the fact that the original author wants to merge this thing into his bigger library that also handles terminal output, which I'll kindly leave to ncurses, it kind of makes sense for me to do this. Manpages have been removed as they are going to become obsolete and they're rather difficult to maintain. If anything, there will be Doxygen-generated documentation. The plan is to throw away any direct UTF-8 support and support all uni- and multibyte character encodings. However some unrelated refactoring is about to come first.
* Return a real key type for unrecognised CSI sequences; allow accessing them ↵Paul LeoNerd Evans2012-11-301-0/+2
| | | | by termkey_interpret_csi()
* Created abstract accessors for getting/setting key event line/col countsPaul LeoNerd Evans2012-04-241-0/+22
|
* Avoid the underscore in struct _TermKeyPaul LeoNerd Evans2012-03-261-1/+1
|
* Move the terminal start/stop code into their own functions, exported ↵Paul LeoNerd Evans2012-03-081-0/+1
| | | | (undocumented for now)
* Allow {start,stop}_driver to fail, abort constructor, have driver-ti try to ↵Paul LeoNerd Evans2012-01-201-2/+2
| | | | write the entire start/stop string or error out on -1
* Move canonicalisation flags into their own bitfield with their own accessor ↵Paul LeoNerd Evans2011-08-281-0/+1
| | | | and named constants
* Moved mouse parsing code out of driver-ti.c into core termkey.cPaul LeoNerd Evans2009-11-261-0/+1
|
* Renamed all type names to CamelCaseNames for visual distinctness, separate ↵Paul LeoNerd Evans2009-07-151-17/+17
| | | | from variables/functions
* Complete change of driver internals - peek and return size but don't eat ↵Paul LeoNerd Evans2008-12-101-3/+2
| | | | bytes; eat later in getkey()
* Allow stacking drivers in a linked list; try all of them at getkey() timePaul LeoNerd Evans2008-11-091-2/+8
|
* Drivers have namesPaul LeoNerd Evans2008-11-081-0/+1
|
* Pass driver_info as explicit void* parameter into driver methodsPaul LeoNerd Evans2008-11-081-4/+4
|
* Added new driver virtual methods 'start_driver' and 'stop_driver'Paul LeoNerd Evans2008-11-021-0/+2
|
* 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-1/+1
|
* Pass 'term' string into new_driver virtual method; have drivers sensitive to ↵Paul LeoNerd Evans2008-10-091-1/+1
| | | | 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/+1
|
* Pass an explicit 'force' parameter into driver's getkey rather than relying ↵Paul LeoNerd Evans2008-10-081-1/+1
| | | | on non-zero waittime
* Moved single byte and UTF-8 sequence recombiner out of driver-csi.c back ↵Paul LeoNerd Evans2008-10-081-11/+1
| | | | into termkey.c
* Moved all of the C0 registration and 'do_codepoint' logic out of driver-csi ↵Paul LeoNerd Evans2008-10-081-0/+22
| | | | back into termkey via another protected method 'emit_codepoint'
* s/eatbytes/eat_bytes/ - nicer API namePaul LeoNerd Evans2008-10-071-1/+1
|
* Moved 'eatbytes' back into core code, put a code ptr in the termkey struct ↵Paul LeoNerd Evans2008-10-071-0/+6
| | | | as a "protected" method
* Use vtable in driver to indirect calls to the CSI driverPaul LeoNerd Evans2008-10-061-3/+4
|
* Moved CSI-related code out of termkey.c into new driver-csi.cPaul LeoNerd Evans2008-10-061-0/+39