diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-05-12 14:37:53 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-05-12 14:37:53 +0000 |
commit | 2cb31b10679106958d5f40c89aa2ace2e2bc5005 (patch) | |
tree | 1ac5820c8ae43ad9fb1f5b7b3f7aa67ee5e31316 /sys/dev/usb/ums.c | |
parent | 6538725ae0b7af2fc683108f98a78cf390e2e281 (diff) |
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 'sys/dev/usb/ums.c')
0 files changed, 0 insertions, 0 deletions