aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Added TERMKEY_FORMAT_WRAPBRACKETPaul LeoNerd Evans2008-10-063-8/+20
|
* Added two more formatting options; CARETCTRL and ALTISMETAPaul LeoNerd Evans2008-10-063-3/+24
|
* snprint_key() now takes a bitmask format, not a single booleanPaul LeoNerd Evans2008-10-062-2/+8
|
* Added termkey_snprint_key() to render nice string outputs of key eventsPaul LeoNerd Evans2008-08-213-24/+49
|
* Reworked events to be type/code/mod rather than flags/code/mod; make F[n] ↵Paul LeoNerd Evans2008-08-213-181/+186
| | | | keys their own (parametric) type, rather than using keysyms for them
* Renamed .h file's include guard to avoid a C reserved identifier spacePaul LeoNerd Evans2008-03-201-2/+2
|
* Cope correctly with XTerm's modified Unicode reporting of Ctrl-C for terminationPaul LeoNerd Evans2008-02-231-2/+2
|
* Preserve modifiers on XTerm's CSI 27 ~ modified Unicode sequencePaul LeoNerd Evans2008-02-231-0/+2
|
* Renamed describe_sym to get_keynamePaul LeoNerd Evans2008-02-233-16/+13
|
* Moved termios magic out of demo.c into termkey.c where it belongsPaul LeoNerd Evans2008-02-233-18/+30
|
* Implemented termkey_free()Paul LeoNerd Evans2008-02-232-0/+11
|
* More termios settings on startup, to ensure reporting of signal, flow ↵Paul LeoNerd Evans2008-02-232-3/+3
| | | | control, and NL/CR keys
* Make sure to initialise key->modifiers on unmodified CSIsPaul LeoNerd Evans2008-02-231-0/+2
|
* Nicer names for modifiers on printed outputPaul LeoNerd Evans2008-02-231-6/+6
|
* Rearranged Home/End keys to better suit rxvt's naming, note 1/4 are now ↵Paul LeoNerd Evans2008-02-232-4/+8
| | | | Find/Select
* Recognise full CSIfuncs list of F1 to F20 keysPaul LeoNerd Evans2008-02-102-0/+20
|
* Bugfix for unknown CSIfuncsPaul LeoNerd Evans2008-02-101-1/+1
|
* Implement growing the buffer after inputPaul LeoNerd Evans2008-02-101-2/+5
|
* More robust eatbytes() that guards against the buffer going negative, ↵Paul LeoNerd Evans2008-02-101-4/+5
| | | | because size_t is not signed