summaryrefslogtreecommitdiff
path: root/bin/ksh/version.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-05-12 14:37:53 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-05-12 14:37:53 +0000
commit2cb31b10679106958d5f40c89aa2ace2e2bc5005 (patch)
tree1ac5820c8ae43ad9fb1f5b7b3f7aa67ee5e31316 /bin/ksh/version.c
parent6538725ae0b7af2fc683108f98a78cf390e2e281 (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 'bin/ksh/version.c')
0 files changed, 0 insertions, 0 deletions