aboutsummaryrefslogtreecommitdiff
path: root/osc.c (follow)
Commit message (Collapse)AuthorAgeLines
* osc: xparsecolor: parse 'legacy' colorsDaniel Eklöf2019-08-28-2/+46
|
* osc: add debug logs when colors are changed and resetDaniel Eklöf2019-08-21-1/+10
|
* term: rename colors256 -> tableDaniel Eklöf2019-08-21-5/+5
|
* term: use colors256 array for *all* colorsDaniel Eklöf2019-08-21-29/+5
| | | | | | That is, remove the 'regular' and 'bright' color arrays. This is possible since the 256-color array is defined such that the first 16 colors map to the regular and bright colors.
* osc: fix indexing into 'bright' color arrayDaniel Eklöf2019-08-21-3/+3
|
* osc: implement "change color" commandsDaniel Eklöf2019-08-21-39/+203
| | | | | | | | | | | This implements OSC 4, 10, 11 - change <color>/foreground/background, and their corresponding 'query' variant (which was already implemented for OSC 10/11). It also implements OSC 104, 110, 111 - reset <color>/foreground/background. Set corresponding terminfo entries to signal this support to clients.
* osc: implement copy/paste to/from primaryDaniel Eklöf2019-08-09-3/+8
|
* osc: bug: uneven clipboard bytes where not buffered correctlyDaniel Eklöf2019-08-03-2/+4
| | | | | | | | | | | | When responding to a OSC 52 clipboard request, we need to base64 encode the clipboard data. This is done in, potentially, several calls. Since we need at least 3 bytes to be able to produce any base64 output, we may have to buffer up to 2 bytes between the callback calls with clipboard data. This was being done incorrectly, where both bytes were written to index 0 in the buffer.
* osc: remove TODODaniel Eklöf2019-08-03-2/+0
|
* osc: reduce flash interval to 50msDaniel Eklöf2019-07-30-2/+1
|
* term: break out 'flash' to a separate 'term' functionDaniel Eklöf2019-07-30-13/+1
|
* vt: remove almost all abort() callsDaniel Eklöf2019-07-30-12/+8
| | | | | | Replace with generic error log messages that simply says the ESC/CSI/OSC sequence is unhandled. This can mean either invalid or unimplemented, depending on the context.
* osc: ignore OSC 30 (konsole's "set tab title")Daniel Eklöf2019-07-23-1/+7
|
* term: group 'flash' state together in a structDaniel Eklöf2019-07-22-2/+2
|
* flash: convert our own 'flash' from a CSI to an OSCDaniel Eklöf2019-07-22-0/+24
|
* term: track current window title in terminal structDaniel Eklöf2019-07-21-3/+3
|
* term: prepare for configurable colors; add color variables to terminalDaniel Eklöf2019-07-21-1/+1
|
* osc: add TODODaniel Eklöf2019-07-19-0/+2
|
* osc: delete empty lineDaniel Eklöf2019-07-19-1/+0
|
* osc: implement OSC 52;c;? - query clipboardDaniel Eklöf2019-07-19-38/+132
|
* osc: initial implementation of OSC 52 - copy to clipboardDaniel Eklöf2019-07-19-0/+64
|
* osc: foreground/background reply is now in correct XParseColor formatDaniel Eklöf2019-07-19-4/+13
| | | | | The format we used previously was a discouraged and obsolete format (and incorrect too).
* osc: allocate data buffer dynamicallyDaniel Eklöf2019-07-19-0/+20
|
* osc: terminate reply with ST rather than BELDaniel Eklöf2019-07-18-1/+1
| | | | | This is the preferred terminator anyway, and at least Emacs likes it a whole lot better.
* osc: implement foreground/background queryDaniel Eklöf2019-07-18-3/+34
|
* osc: recognize, but ignore, 112 (reset text cursor color)Daniel Eklöf2019-07-16-0/+1
|
* performance improvementsDaniel Eklöf2019-07-07-5/+4
| | | | | | | | | * action() returns void - this gets rid of checks in vt_from_slave() * split up ACTION_PRINT into ACTION_PRINT (ASCII) and ACTION_UTF8_PRINT ACTION_PRINT is on the hot path, and we want it streamlined. * Remove run-time checkout for unimplemented state transitions, as we shouldn't have any of those left. * Don't re-load current VT state on each iteration in vt_from_slave()
* osc: recognize, but ignore, OSC 104 and OSC 105Daniel Eklöf2019-07-05-0/+4
|
* osc: fix param calculation with more than one digitDaniel Eklöf2019-07-05-0/+1
|
* render: break out rendering functions to render.{c,h}Daniel Eklöf2019-07-05-5/+3
|
* osc: implement change window title and iconDaniel Eklöf2019-07-05-1/+40
|
* logging: disable debug logging by defaultDaniel Eklöf2019-07-03-1/+1
|
* wip: vt parsing: initial csi/osc dispatchingDaniel Eklöf2019-06-15-0/+12