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

Re: various weirdnesses with unicode support



Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> I just hit one thing i forgot about. The minibuffer doesn't seem to
> work at all. I just tried zsh -f and ran
> bindkey '^a' where-is
> and it doesn't work, so it's not my rc file being weird or something.
> The prompt does show up but i can't enter any characters into it.
> (ctrl-r history search still works fine though).

Oops.

Index: Src/Zle/zle_misc.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_misc.c,v
retrieving revision 1.27
diff -u -r1.27 zle_misc.c
--- Src/Zle/zle_misc.c	9 Sep 2005 11:48:28 -0000	1.27
+++ Src/Zle/zle_misc.c	9 Sep 2005 13:42:10 -0000
@@ -955,7 +955,7 @@
 		else {
 #ifdef ZLE_UNICODE_SUPPORT
 		    if (!lastchar_wide_valid)
-			getrestchar(0);
+			getrestchar(lastchar);
 		    if (iswcntrl(lastchar_wide))
 #else
 		    if (icntrl(lastchar))


-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



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