aboutsummaryrefslogtreecommitdiff
path: root/driver-ti.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix usage of a nonstandard escape sequencePřemysl Eric Janouch2023-06-141-1/+1
|
* Fix mouse when key_mouse contains 1006 sequencePřemysl Eric Janouch2021-11-041-7/+5
|
* Ensure we turn off focus tracking on exitPřemysl Eric Janouch2021-06-291-1/+2
|
* Enable focus tracking opportunisticallyPřemysl Eric Janouch2021-06-291-1/+7
|
* Make note of urxvt 9.25's 1006 supportPřemysl Eric Janouch2021-06-291-1/+2
|
* Try to fix terminfo loadingPřemysl Janouch2016-11-031-7/+13
| | | | | | It could lead to crashing the PTY under OpenBSD and ncurses. Fixed some unibiliums leaks while at it.
* Fix cursor keys etc. in unibiliumPřemysl Janouch2016-09-271-2/+2
| | | | unibi_pkey_xmit was the wrong constant.
* Make unibilium work at allPřemysl Janouch2016-07-241-5/+10
|
* Don't interpret an n*<Esc> as (n-1)*<Alt>-<Esc>Přemysl Janouch2015-08-091-2/+2
|
* Rewrite the mouse APIPřemysl Janouch2014-11-191-31/+46
| | | | | | | I wasn't aware of the fact that 1000, 1002 and 1003 are mutually exclusive and turn each other off. Also now it's not needed to set the protocol, it gets set by default.
* Add support for setting the mouse protocolPřemysl Janouch2014-10-221-37/+99
|
* Get rid of most block commentsPřemysl Janouch2014-10-141-14/+12
| | | | They're rather difficult to maintain.
* Rename to termoPřemysl Janouch2014-10-141-82/+82
|
* Work on mouse support, it's a messPřemysl Janouch2014-10-131-41/+81
|
* CMake-ify, rename to termkey2 for the time beingPřemysl Janouch2014-10-091-3/+3
|
* Move to iconvPřemysl Janouch2014-09-281-18/+11
| | | | | | | | | | | That is the major change in this commit. Also Ctrl-modified keys now should work in URxvt, which was surprisingly trivial to achieve. Coming up next: - making sure the tests still work - introducing CMake
* Less code duplicationPřemysl Janouch2014-09-231-31/+13
|
* Introduce isatty(3)Přemysl Janouch2014-09-231-21/+2
|
* Introduce bsearch(3)Přemysl Janouch2014-09-231-27/+15
|
* Add -WextraPřemysl Janouch2014-09-231-2/+2
|
* WIP: Is mine now (^3^)Přemysl Janouch2014-09-231-466/+507
| | | | | | | | | | | | | | | | 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.
* Don't try to write() the start/stop string if the fd is a pipe, because this ↵Paul LeoNerd Evans2012-01-201-0/+18
| | | | will never work
* Allow {start,stop}_driver to fail, abort constructor, have driver-ti try to ↵Paul LeoNerd Evans2012-01-201-8/+35
| | | | write the entire start/stop string or error out on -1
* (void)-cast calls to write() in driver-ti start/stop since we don't -really- ↵Paul LeoNerd Evans2012-01-201-2/+2
| | | | care if they fail, there's not much we can do about it
* 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
|