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

Re: PATCH: displaying wide characters



On 10/26/05, Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> On Mon, 24 Oct 2005 10:40:42 +0200
> Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> > 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.
>
> I think the following patch fixes this issue, at least what I was
> seeing.  I'm quite sure there are plenty of other oddities like this.
> I also think that, while you can now type a line of double-width
> characters that wraps without the display going, there are likely to be
> problems when you edit the part of the line before the wrap.

This didn't fix the problem for me, but it is acting differently now.
Not sure how to describe it accurately, I'll paste a few lines where
all I've done is press delete at the first character:
% ちとしはきくま
% と しはきく
%   はきくま
% はきくま
% きくま
from this point they display correctly

--
Mikael Magnusson



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