Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: multibyte backwarddeletechar
- X-seq: zsh-workers 16091
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: multibyte backwarddeletechar
- Date: Sun, 21 Oct 2001 17:13:38 +0000
- In-reply-to: <20011021114254.A17952@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20011021114254.A17952@xxxxxxxx>
On Oct 21, 11:42am, Clint Adams wrote:
}
} This causes backward-delete-char to delete entire
} multibyte characters (valid in the current locale)
} rather than their component octets.
I'm a bit surprised that this wouldn't cause significant confusion in
the ZLE display code. How did the multi-byte character get input in
the first place? Is it displayed as occupying one character position
on the screen, or several? If only one, doesn't the cursor end up in
the wrong place on most word- or line-oriented motions that cross it?
If we're going to support wide and/or multi-byte characters, I think we
should Do It Right, not by pasting a zillion workarounds into individual
editor functions.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author