aboutsummaryrefslogtreecommitdiff
path: root/driver-csi.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Bugfix to 'unknown CSI' case in CSI driver - neater output message to avoid ↵Paul LeoNerd Evans2008-11-121-2/+16
| | | | uninitialised ints
* CSI driver should also load when TERM=screen because of screen's stupid way ↵Paul LeoNerd Evans2008-11-091-6/+13
| | | | of blind-forwarding keypresses it doesn't understand
* Driver getkey() can return TERMKEY_RES_NONE which attempts getkey_simple() ↵Paul LeoNerd Evans2008-11-091-1/+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-4/+4
|
* Pass 'csi' value to static helper functions in driver-csiPaul LeoNerd Evans2008-11-081-10/+8
|
* Reuse common Esc-prefix code in getkey_simple() from CSI driver; avoids code ↵Paul LeoNerd Evans2008-11-031-44/+5
| | | | duplication
* Pass the 'force' value through to getkey_simple()Paul LeoNerd Evans2008-11-021-1/+1
|
* 'int' might not be wide enough to hold any Unicode codepoint; use 'long'Paul LeoNerd Evans2008-10-101-3/+3
|
* Added some TODO notes about handling realloc() failuresPaul LeoNerd Evans2008-10-091-0/+1
|