summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-05-12 14:37:52 +0000
committerschwarze <schwarze@openbsd.org>2017-05-12 14:37:52 +0000
commit3e1731416f23149ce46f0bb247a181999b61d190 (patch)
treec0f86319809bd30a7b55bf0ff1444cead1eb5353 /lib
parentInstead of printing a debug message at the end of processing, panic (diff)
downloadwireguard-openbsd-3e1731416f23149ce46f0bb247a181999b61d190.tar.xz
wireguard-openbsd-3e1731416f23149ce46f0bb247a181999b61d190.zip
Improve UTF-8 handling on lines that are wider than the terminal,
in two respects: 1. During output in x_e_putc(), when counting display columns, skip UTF-8 continuation bytes. Fixes backward movements that cause horizontal scrolling. 2. After deleting characters, recalculate the last byte that fits on the line. Patch from <Anton dot Lindqvist at gmail dot com> on tech@. OK millert@ tb@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions