Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: (large) initial support for combining characters in ZLE.
- X-seq: zsh-workers 25723
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: "Zsh Hackers' List" <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: (large) initial support for combining characters in ZLE.
- Date: Mon, 22 Sep 2008 19:36:04 +0100
- In-reply-to: Message from "Mikael Magnusson" <mikachu@xxxxxxxxx> of "Mon, 22 Sep 2008 20:16:58 +0200." <237967ef0809221116y33cba57cj9c3654eb2410cb95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
"Mikael Magnusson" wrote:
> zsh -f
> print -z $'a\u0342'
> <alt-x>push-input
> setopt combiningchars
> boom
I can get something untoward to happen if I move the cursor on top of
the combining tilde first, if that's what you mean.
Index: Src/Zle/zle_main.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_main.c,v
retrieving revision 1.116
diff -u -r1.116 zle_main.c
--- Src/Zle/zle_main.c 16 Sep 2008 15:12:17 -0000 1.116
+++ Src/Zle/zle_main.c 22 Sep 2008 18:33:21 -0000
@@ -1173,6 +1173,7 @@
stackcs = -1;
if (zlecs > zlell)
zlecs = zlell;
+ CCLEFT();
}
if (stackhist != -1) {
histline = stackhist;
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author