CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2017/05/12 08:37:52

Modified files:
        bin/ksh        : emacs.c 

Log message:
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@

Reply via email to