Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Multibyte cursors in zsh
- X-seq: zsh-workers 13311
- From: "Michael C . Wu" <keichii@xxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Multibyte cursors in zsh
- Date: Sun, 24 Dec 2000 18:03:01 -0600
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- Reply-to: "Michael C . Wu" <keichii@xxxxxxxxxxxxxxxxxxxx>
Regarding multibyte character support, here is a feature suggestion:
Say we have two-byte characters (commonly used in Chinese/Japanese/
Korean) AA, BB, XX, and YY
The correct behavior when I have the following text:
AABBXXYY<cursor>
and I push "backspace" once
The result would be:
AABBXX
But zsh does this:
AABBXXY
And we have to push the delete button again, same incorrect behavior
happens with arrow keys, ^W and etc.
Basically, zsh needs to be taught about multibyte characters.
Would you mind modifying zsh behavior to respect an environmental
shell variable that toggles this as well as the functionality?
Merry Christmas and thanks,
--
+------------------------------------------------------------------+
| keichii@xxxxxxxxxxxxxxxxxxxx | keichii@xxxxxxxxxxxxxxxxx |
| http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. |
+------------------------------------------------------------------+
Messages sorted by:
Reverse Date,
Date,
Thread,
Author