Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: displaying wide characters



On 10/20/05, Peter Stephenson <pws@xxxxxxx> wrote:
> Mikael Magnusson wrote:
> > This seems to work fine so far, and the prompt truncation also seems
> > to be fixed.

Found one issue with editing wide characters on the command line,
input some doublewidth characters, erase one near the left end, then
go to the right and erase another. The second time the cursor will
only move one character to the left instead of two and cursor display
will not correspond with reality anymore. For some reason it only
seems to happen with 6 characters or more, the ones i'm using are
hiragana. It seems it also matters a bit which characters it is, this
string exhibits the problem
ちとしはきく
when you delete the first character, and then move one to the right
and delete the second. Seems just pressing delete twice at the
beginning also triggers the bug.
ちちちちちち doesn't trigger the bug for example.

--
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author