Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Work on mouse support, it's a mess | Přemysl Janouch | 2014-10-13 | 1 | -1/+2 |
| | |||||
* | CMake-ify, rename to termkey2 for the time being | Přemysl Janouch | 2014-10-09 | 1 | -2/+2 |
| | |||||
* | Move to iconv | Přemysl Janouch | 2014-09-28 | 1 | -11/+46 |
| | | | | | | | | | | | 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 | ||||
* | Add -Wextra | Přemysl Janouch | 2014-09-23 | 1 | -1/+21 |
| | |||||
* | WIP: Is mine now (^3^) | Přemysl Janouch | 2014-09-23 | 1 | -541/+575 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Handle ANSI and DEC mode report CSIs | Paul LeoNerd Evans | 2012-11-30 | 1 | -0/+43 |
| | |||||
* | Only recognise DECCPR as a position report, so it is distinct from F3 | Paul LeoNerd Evans | 2012-11-30 | 1 | -17/+10 |
| | |||||
* | Try to handle position reports -and- F3 concurrently.. somehow.. argh | Paul LeoNerd Evans | 2012-11-30 | 1 | -7/+15 |
| | |||||
* | Bugfix to argless CSIs; present 0 arguments, not 1 whose value is -1 | Paul LeoNerd Evans | 2012-11-30 | 1 | -4/+2 |
| | |||||
* | Slightly more generic custom CSI handling - name functions just after the ↵ | Paul LeoNerd Evans | 2012-11-30 | 1 | -23/+42 |
| | | | | letter they parse, so we can multiplex on 'cmd' or other things | ||||
* | Moved the other termkey_interpret_*() functions into driver-csi.c where they ↵ | Paul LeoNerd Evans | 2012-11-30 | 1 | -13/+75 |
| | | | | arguably belong | ||||
* | Also interpret an intermediate CSI byte if present | Paul LeoNerd Evans | 2012-11-30 | 1 | -0/+4 |
| | |||||
* | Return a real key type for unrecognised CSI sequences; allow accessing them ↵ | Paul LeoNerd Evans | 2012-11-30 | 1 | -2/+20 |
| | | | | by termkey_interpret_csi() | ||||
* | Split out the actual CSI parser into its own function, separate from peekkey_csi | Paul LeoNerd Evans | 2012-11-30 | 1 | -59/+75 |
| | |||||
* | Bugfix to POSITION reporting - swap line<=>col | Paul LeoNerd Evans | 2012-04-25 | 1 | -1/+1 |
| | |||||
* | Ensure that key->type field is properly set for all mouse encoding protocols | Paul LeoNerd Evans | 2012-04-24 | 1 | -0/+2 |
| | |||||
* | Also handle CSI R; position report replies to CSI 6n | Paul LeoNerd Evans | 2012-04-24 | 1 | -0/+17 |
| | |||||
* | Neater CSI driver; dispatch command handlers from an array | Paul LeoNerd Evans | 2012-04-24 | 1 | -80/+150 |
| | |||||
* | Always load the CSI driver because it contains cross-terminal mouse and CSI ↵ | Paul LeoNerd Evans | 2012-04-24 | 1 | -17/+0 |
| | | | | u handling | ||||
* | Created abstract accessors for getting/setting key event line/col counts | Paul LeoNerd Evans | 2012-04-24 | 1 | -22/+2 |
| | |||||
* | Use spare bits in code.mouse[3] to store bigger mouse positions | Paul LeoNerd Evans | 2012-04-12 | 1 | -17/+22 |
| | |||||
* | Recognise SGR-style mouse encoding | Paul LeoNerd Evans | 2012-04-12 | 1 | -2/+31 |
| | |||||
* | Recognise rxvt-style mouse encoding | Paul LeoNerd Evans | 2012-04-12 | 1 | -0/+20 |
| | |||||
* | Document the errors set by termkey_new(), use errno rather than fprintf() to ↵ | Paul LeoNerd Evans | 2012-01-29 | 1 | -3/+0 |
| | | | | stderr | ||||
* | Mark new driver-csi internal variables as static so they don't result in ↵ | Paul LeoNerd Evans | 2012-01-22 | 1 | -5/+5 |
| | | | | linkable symbols | ||||
* | Fix another printf() %c char | Paul LeoNerd Evans | 2012-01-20 | 1 | -1/+1 |
| | |||||
* | Since CSI key info is the same for every CSI driver, just store one static ↵ | Paul LeoNerd Evans | 2012-01-20 | 1 | -194/+151 |
| | | | | copy of it rather than one for every termkey instance - simplifies construct-time allocation | ||||
* | fprintf() %c wants char, not unsigned char | Paul LeoNerd Evans | 2012-01-20 | 1 | -4/+4 |
| | |||||
* | Also handle new 'fixterms' spec CSI codepoint;modifiers u encoding | Paul LeoNerd Evans | 2011-05-09 | 1 | -0/+6 |
| | |||||
* | Implement mouse catching also in CSI driver, in case xterm-alike terminal ↵ | Paul LeoNerd Evans | 2009-11-26 | 1 | -0/+16 |
| | | | | without 'key_mouse' terminfo string | ||||
* | Renamed all type names to CamelCaseNames for visual distinctness, separate ↵ | Paul LeoNerd Evans | 2009-07-15 | 1 | -22/+22 |
| | | | | from variables/functions | ||||
* | Complete change of driver internals - peek and return size but don't eat ↵ | Paul LeoNerd Evans | 2008-12-10 | 1 | -12/+12 |
| | | | | bytes; eat later in getkey() | ||||
* | Make CSI driver's debugging output messages on unrecognised sequences ↵ | Paul LeoNerd Evans | 2008-11-12 | 1 | -6/+12 |
| | | | | conditional on #ifdef DEBUG | ||||
* | CSI driver shouldn't eat sequences it doesn't understand; leave them for ↵ | Paul LeoNerd Evans | 2008-11-12 | 1 | -13/+17 |
| | | | | another driver | ||||
* | Bugfix to 'unknown CSI' case in CSI driver - neater output message to avoid ↵ | Paul LeoNerd Evans | 2008-11-12 | 1 | -2/+16 |
| | | | | uninitialised ints | ||||
* | CSI driver should also load when TERM=screen because of screen's stupid way ↵ | Paul LeoNerd Evans | 2008-11-09 | 1 | -6/+13 |
| | | | | of blind-forwarding keypresses it doesn't understand | ||||
* | Driver getkey() can return TERMKEY_RES_NONE which attempts getkey_simple() ↵ | Paul LeoNerd Evans | 2008-11-09 | 1 | -1/+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 | -4/+4 |
| | |||||
* | Pass 'csi' value to static helper functions in driver-csi | Paul LeoNerd Evans | 2008-11-08 | 1 | -10/+8 |
| | |||||
* | Reuse common Esc-prefix code in getkey_simple() from CSI driver; avoids code ↵ | Paul LeoNerd Evans | 2008-11-03 | 1 | -44/+5 |
| | | | | duplication | ||||
* | Pass the 'force' value through to getkey_simple() | Paul LeoNerd Evans | 2008-11-02 | 1 | -1/+1 |
| | |||||
* | 'int' might not be wide enough to hold any Unicode codepoint; use 'long' | Paul LeoNerd Evans | 2008-10-10 | 1 | -3/+3 |
| | |||||
* | Added some TODO notes about handling realloc() failures | Paul LeoNerd Evans | 2008-10-09 | 1 | -0/+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 | -1/+11 |
| | | | | it and return NULL if they can't handle. Try CSI driver first; only for xterm-alikes | ||||
* | Moved all of the keynames out from driver-csi into termkey; where they belong | Paul LeoNerd Evans | 2008-10-08 | 1 | -34/+34 |
| | |||||
* | Pass an explicit 'force' parameter into driver's getkey rather than relying ↵ | Paul LeoNerd Evans | 2008-10-08 | 1 | -10/+10 |
| | | | | on non-zero waittime | ||||
* | Moved single byte and UTF-8 sequence recombiner out of driver-csi.c back ↵ | Paul LeoNerd Evans | 2008-10-08 | 1 | -92/+2 |
| | | | | into termkey.c | ||||
* | Moved all of the C0 registration and 'do_codepoint' logic out of driver-csi ↵ | Paul LeoNerd Evans | 2008-10-08 | 1 | -146/+10 |
| | | | | back into termkey via another protected method 'emit_codepoint' |