aboutsummaryrefslogtreecommitdiff
path: root/driver-csi.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement de/focus event parsingPřemysl Eric Janouch2020-09-141-0/+30
| | | | So far there is no way to set it up, I'm not sure how to go about it.
* Don't interpret an n*<Esc> as (n-1)*<Alt>-<Esc>Přemysl Janouch2015-08-091-9/+11
|
* Fix xterm cursor key modifiersPřemysl Janouch2015-07-251-24/+39
|
* Make cursor keys work betterPřemysl Janouch2015-07-251-34/+48
|
* Fix SS3 keysymsPřemysl Janouch2015-07-251-1/+1
|
* Fix off-by-one bugPřemysl Janouch2015-05-281-1/+1
|
* Finally fix all testsPřemysl Janouch2015-05-281-5/+13
| | | | While still supporting rxvt shifted keys.
* Mark an issue that breaks testsPřemysl Janouch2015-05-271-0/+1
|
* Fix the 31position testPřemysl Janouch2015-05-271-1/+1
|
* Fix rxvt shifted keys and OOB array accessPřemysl Janouch2015-05-261-51/+62
|
* Mark a TODOPřemysl Janouch2014-11-301-0/+4
|
* Better support for rxvt inputPřemysl Janouch2014-11-191-16/+81
|
* Rewrite termo_interpret_mouse()Přemysl Janouch2014-10-181-15/+12
|
* Get rid of most block commentsPřemysl Janouch2014-10-141-27/+27
| | | | They're rather difficult to maintain.
* Rename to termoPřemysl Janouch2014-10-141-204/+204
|
* Make mode 1015 and 1006 work, prepare for 1005Přemysl Janouch2014-10-131-19/+18
|
* Work on mouse support, it's a messPřemysl Janouch2014-10-131-1/+2
|
* CMake-ify, rename to termkey2 for the time beingPřemysl Janouch2014-10-091-2/+2
|
* Move to iconvPřemysl Janouch2014-09-281-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 -WextraPřemysl Janouch2014-09-231-1/+21
|
* WIP: Is mine now (^3^)Přemysl Janouch2014-09-231-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 CSIsPaul LeoNerd Evans2012-11-301-0/+43
|
* Only recognise DECCPR as a position report, so it is distinct from F3Paul LeoNerd Evans2012-11-301-17/+10
|
* Try to handle position reports -and- F3 concurrently.. somehow.. arghPaul LeoNerd Evans2012-11-301-7/+15
|
* Bugfix to argless CSIs; present 0 arguments, not 1 whose value is -1Paul LeoNerd Evans2012-11-301-4/+2
|
* Slightly more generic custom CSI handling - name functions just after the ↵Paul LeoNerd Evans2012-11-301-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 Evans2012-11-301-13/+75
| | | | arguably belong
* Also interpret an intermediate CSI byte if presentPaul LeoNerd Evans2012-11-301-0/+4
|
* Return a real key type for unrecognised CSI sequences; allow accessing them ↵Paul LeoNerd Evans2012-11-301-2/+20
| | | | by termkey_interpret_csi()
* Split out the actual CSI parser into its own function, separate from peekkey_csiPaul LeoNerd Evans2012-11-301-59/+75
|
* Bugfix to POSITION reporting - swap line<=>colPaul LeoNerd Evans2012-04-251-1/+1
|
* Ensure that key->type field is properly set for all mouse encoding protocolsPaul LeoNerd Evans2012-04-241-0/+2
|
* Also handle CSI R; position report replies to CSI 6nPaul LeoNerd Evans2012-04-241-0/+17
|
* Neater CSI driver; dispatch command handlers from an arrayPaul LeoNerd Evans2012-04-241-80/+150
|
* Always load the CSI driver because it contains cross-terminal mouse and CSI ↵Paul LeoNerd Evans2012-04-241-17/+0
| | | | u handling
* Created abstract accessors for getting/setting key event line/col countsPaul LeoNerd Evans2012-04-241-22/+2
|
* Use spare bits in code.mouse[3] to store bigger mouse positionsPaul LeoNerd Evans2012-04-121-17/+22
|
* Recognise SGR-style mouse encodingPaul LeoNerd Evans2012-04-121-2/+31
|
* Recognise rxvt-style mouse encodingPaul LeoNerd Evans2012-04-121-0/+20
|
* Document the errors set by termkey_new(), use errno rather than fprintf() to ↵Paul LeoNerd Evans2012-01-291-3/+0
| | | | stderr
* Mark new driver-csi internal variables as static so they don't result in ↵Paul LeoNerd Evans2012-01-221-5/+5
| | | | linkable symbols
* Fix another printf() %c charPaul LeoNerd Evans2012-01-201-1/+1
|
* Since CSI key info is the same for every CSI driver, just store one static ↵Paul LeoNerd Evans2012-01-201-194/+151
| | | | copy of it rather than one for every termkey instance - simplifies construct-time allocation
* fprintf() %c wants char, not unsigned charPaul LeoNerd Evans2012-01-201-4/+4
|
* Also handle new 'fixterms' spec CSI codepoint;modifiers u encodingPaul LeoNerd Evans2011-05-091-0/+6
|
* Implement mouse catching also in CSI driver, in case xterm-alike terminal ↵Paul LeoNerd Evans2009-11-261-0/+16
| | | | without 'key_mouse' terminfo string
* Renamed all type names to CamelCaseNames for visual distinctness, separate ↵Paul LeoNerd Evans2009-07-151-22/+22
| | | | from variables/functions
* Complete change of driver internals - peek and return size but don't eat ↵Paul LeoNerd Evans2008-12-101-12/+12
| | | | bytes; eat later in getkey()
* Make CSI driver's debugging output messages on unrecognised sequences ↵Paul LeoNerd Evans2008-11-121-6/+12
| | | | conditional on #ifdef DEBUG
* CSI driver shouldn't eat sequences it doesn't understand; leave them for ↵Paul LeoNerd Evans2008-11-121-13/+17
| | | | another driver