aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-03 19:30:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-03 19:30:06 +0000
commite2229c7e2eeb1b0245cc2c7b9c9188f95867e344 (patch)
treee46d31d76144bef98beb4aef4376e276bcbcf90f /render.c
parentterm: cell erase: reset *all* attributes *except* background (diff)
osc: bug: uneven clipboard bytes where not buffered correctly
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.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions