aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-12-15 11:11:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-12-15 11:11:12 +0000
commit2f475d7b44fd2e0426c0b96d980605debaede15a (patch)
tree00089fafb21d60e397dcb67d1eb1b808cca0682a /render.c
parentvt: add commented out cases for 8-bit C1 control characters (diff)
selection: optimize \r\n -> \n when receiving clipboard data
Instead of first memmoving, possibly lots of data lots of times, the received buffer, and _then_ calling the callback, simply call the callback multiple times, and just skip the \r character(s).
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions