Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make unibilium work at all | Přemysl Janouch | 2016-07-24 | 1 | -5/+10 |
| | |||||
* | Don't interpret an n*<Esc> as (n-1)*<Alt>-<Esc> | Přemysl Janouch | 2015-08-09 | 1 | -2/+2 |
| | |||||
* | Rewrite the mouse API | Přemysl Janouch | 2014-11-19 | 1 | -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 protocol | Přemysl Janouch | 2014-10-22 | 1 | -37/+99 |
| | |||||
* | Get rid of most block comments | Přemysl Janouch | 2014-10-14 | 1 | -14/+12 |
| | | | | They're rather difficult to maintain. | ||||
* | Rename to termo | Přemysl Janouch | 2014-10-14 | 1 | -82/+82 |
| | |||||
* | Work on mouse support, it's a mess | Přemysl Janouch | 2014-10-13 | 1 | -41/+81 |
| | |||||
* | CMake-ify, rename to termkey2 for the time being | Přemysl Janouch | 2014-10-09 | 1 | -3/+3 |
| | |||||
* | Move to iconv | Přemysl Janouch | 2014-09-28 | 1 | -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 duplication | Přemysl Janouch | 2014-09-23 | 1 | -31/+13 |
| | |||||
* | Introduce isatty(3) | Přemysl Janouch | 2014-09-23 | 1 | -21/+2 |
| | |||||
* | Introduce bsearch(3) | Přemysl Janouch | 2014-09-23 | 1 | -27/+15 |
| | |||||
* | Add -Wextra | Přemysl Janouch | 2014-09-23 | 1 | -2/+2 |
| | |||||
* | WIP: Is mine now (^3^) | Přemysl Janouch | 2014-09-23 | 1 | -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 Evans | 2012-01-20 | 1 | -0/+18 |
| | | | | will never work | ||||
* | Allow {start,stop}_driver to fail, abort constructor, have driver-ti try to ↵ | Paul LeoNerd Evans | 2012-01-20 | 1 | -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 Evans | 2012-01-20 | 1 | -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 Evans | 2012-01-18 | 1 | -2/+2 |
| | | | | an fd; must use push_bytes to provide it input | ||||
* | Optionally support unibilium for reading terminfo instead of curses | Paul LeoNerd Evans | 2011-09-24 | 1 | -5/+41 |
| | |||||
* | Neaten logic by loading terminfo strings in a separate function from the ↵ | Paul LeoNerd Evans | 2011-09-23 | 1 | -18/+26 |
| | | | | constructor | ||||
* | strdup() needs 'define _XOPEN_SOURCE 600 - Petr Pavlu | Paul LeoNerd Evans | 2011-08-25 | 1 | -2/+1 |
| | |||||
* | Solaris requires #define _XPG6 | Paul LeoNerd Evans | 2011-04-04 | 1 | -0/+1 |
| | |||||
* | include <curses.h> before <term.h> as it's required in that order on Solaris | Paul LeoNerd Evans | 2011-03-30 | 1 | -1/+1 |
| | |||||
* | Moved mouse parsing code out of driver-ti.c into core termkey.c | Paul LeoNerd Evans | 2009-11-26 | 1 | -10/+12 |
| | |||||
* | Remember to zero key->modifiers for mouse events | Paul LeoNerd Evans | 2009-11-25 | 1 | -0/+1 |
| | |||||
* | Implement XTerm mouse parsing in terminfo driver | Paul LeoNerd Evans | 2009-11-24 | 1 | -12/+49 |
| | |||||
* | Renamed all type names to CamelCaseNames for visual distinctness, separate ↵ | Paul LeoNerd Evans | 2009-07-15 | 1 | -21/+21 |
| | | | | from variables/functions | ||||
* | Complete change of driver internals - peek and return size but don't eat ↵ | Paul LeoNerd Evans | 2008-12-10 | 1 | -3/+3 |
| | | | | bytes; eat later in getkey() | ||||
* | strdup() the terminfo keypad_local and keypad_xmit strings at construct ↵ | Paul LeoNerd Evans | 2008-12-03 | 1 | -4/+34 |
| | | | | time, in case multiple instances and they change beneath us | ||||
* | Use a C99 flexible array member rather than the [0] hack | Paul LeoNerd Evans | 2008-12-02 | 1 | -1/+1 |
| | |||||
* | Cast 'term' to (non-const) char* when passing to setupterm() because ↵ | Paul LeoNerd Evans | 2008-11-28 | 1 | -1/+3 |
| | | | | terminfo's prototypes don't use const | ||||
* | Use sizeof() on assigned variables rather than types, to make code a little ↵ | Paul LeoNerd Evans | 2008-11-24 | 1 | -2/+2 |
| | | | | less fragile to type changes | ||||
* | Fixed another signed-vs-unsigned int comparison in driver-ti.c | Paul LeoNerd Evans | 2008-11-24 | 1 | -1/+1 |
| | |||||
* | Only print about unrecognised terminfo variable names when debugging | Paul LeoNerd Evans | 2008-11-18 | 1 | -1/+4 |
| | |||||
* | Compress trie nodes down to extent maps after loading, to save memory | Paul LeoNerd Evans | 2008-11-12 | 1 | -15/+59 |
| | |||||
* | Use a trie instead of a linear list of sequence strings in the terminfo ↵ | Paul LeoNerd Evans | 2008-11-12 | 1 | -48/+151 |
| | | | | driver - nicer lookup properties | ||||
* | Handle malloc() failures during setup of driver-ti | Paul LeoNerd Evans | 2008-11-12 | 1 | -4/+11 |
| | |||||
* | Implemented free_driver() in terminfo driver | Paul LeoNerd Evans | 2008-11-09 | 1 | -0/+5 |
| | |||||
* | Driver getkey() can return TERMKEY_RES_NONE which attempts getkey_simple() ↵ | Paul LeoNerd Evans | 2008-11-09 | 1 | -2/+1 |
| | | | | afterwards | ||||
* | Drivers have names | Paul LeoNerd Evans | 2008-11-08 | 1 | -0/+2 |
| | |||||
* | Pass driver_info as explicit void* parameter into driver methods | Paul LeoNerd Evans | 2008-11-08 | 1 | -5/+5 |
| | |||||
* | Recognise 'key_mouse' as an ignored terminfo key | Paul LeoNerd Evans | 2008-11-02 | 1 | -1/+3 |
| | |||||
* | Terminfo driver needs to put terminal into 'keypad_xmit' mode when starting | Paul LeoNerd Evans | 2008-11-02 | 1 | -0/+23 |
| | |||||
* | Pass the 'force' value through to getkey_simple() | Paul LeoNerd Evans | 2008-11-02 | 1 | -1/+1 |
| | |||||
* | Added many more key symbols and names + translations from terminfo | Paul LeoNerd Evans | 2008-10-10 | 1 | -0/+24 |
| | |||||
* | Binary search terminfo funcname => termkey sym conversion, rather than linear | Paul LeoNerd Evans | 2008-10-10 | 1 | -3/+18 |
| | |||||
* | Added some TODO notes about handling realloc() failures | Paul LeoNerd Evans | 2008-10-09 | 1 | -1/+1 |
| | |||||
* | Better free() tracking in constructor failure cases | Paul LeoNerd Evans | 2008-10-09 | 1 | -0/+9 |
| | |||||
* | Pass 'term' string into new_driver virtual method; have drivers sensitive to ↵ | Paul LeoNerd Evans | 2008-10-09 | 1 | -2/+5 |
| | | | | it and return NULL if they can't handle. Try CSI driver first; only for xterm-alikes | ||||
* | Added initial attempt at a terminfo-driven driver | Paul LeoNerd Evans | 2008-10-08 | 1 | -0/+189 |