diff options
author | 2017-05-12 14:37:52 +0000 | |
---|---|---|
committer | 2017-05-12 14:37:52 +0000 | |
commit | 3e1731416f23149ce46f0bb247a181999b61d190 (patch) | |
tree | c0f86319809bd30a7b55bf0ff1444cead1eb5353 /lib | |
parent | Instead of printing a debug message at the end of processing, panic (diff) | |
download | wireguard-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