Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Re: Nasty problem with cursor placement after declining a listing
- X-seq: zsh-workers 11682
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: Re: Nasty problem with cursor placement after declining a listing
- Date: Wed, 31 May 2000 08:29:12 +0200 (MET DST)
- In-reply-to: "Bart Schaefer"'s message of Tue, 30 May 2000 16:19:26 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> This is 3.1.7, hot off sourceforge CVS:
>
> zagzig% bindkey -e;autoload -U compinit; compinit -D
> zagzig% which <TAB>
> zsh: do you wish to see all 2091 possibilities (1046 lines)? n
> zagzig% which <TAB>
> zagzig% which \!
>
> ^ cursor is now down here on the blank line below the prompt
>
> This doesn't happen when the complist module is loaded.
Missing tcmultup after a trashzle().
Bye
Sven
Index: Src/Zle/compresult.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/compresult.c,v
retrieving revision 1.16
diff -u -r1.16 compresult.c
--- Src/Zle/compresult.c 2000/05/29 12:42:59 1.16
+++ Src/Zle/compresult.c 2000/05/31 06:27:30
@@ -1661,7 +1661,9 @@
putc('\n', shout);
settyinfo(&shttyinfo);
minfo.asked = 1;
- }
+ } else if (minfo.asked == 2)
+ tcmultout(TCUP, TCMULTUP, nlnct);
+
return (minfo.asked ? minfo.asked - 1 : 0);
}
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author