Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: BUG? - 4.0.2, current 4.1 - blank left prompt & blank line erases right prompt
- X-seq: zsh-workers 16527
- From: Zefram <zefram@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: BUG? - 4.0.2, current 4.1 - blank left prompt & blank line erases right prompt
- Date: Thu, 31 Jan 2002 10:49:49 +0000
- Cc: Derek Peschel <dpeschel@xxxxxxxxxx>
- In-reply-to: <20020131104224.GA13581@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20020131004406.A5021@xxxxxxxxxxxxxxxxx> <20020131104224.GA13581@xxxxxxxx>
Zefram wrote:
>I think this patch fixes the problem.
Actually that was a little more conservative than necessary. Here's a
better patch:
Index: zle_refresh.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_refresh.c,v
retrieving revision 1.4
diff -c -r1.4 zle_refresh.c
*** zle_refresh.c 2001/10/24 07:00:49 1.4
--- zle_refresh.c 2002/01/31 10:48:59
***************
*** 698,704 ****
which need to be written. do this now to allow some pre-processing */
if (cleareol /* request to clear to end of line */
! || !nllen /* no line buffer given */
|| (ln == 0 && (put_rpmpt != oput_rpmpt))) { /* prompt changed */
p1 = zhalloc(winw + 2);
if (nllen)
--- 698,704 ----
which need to be written. do this now to allow some pre-processing */
if (cleareol /* request to clear to end of line */
! || (!nllen && (ln != 0 || !put_rpmpt)) /* no line buffer given */
|| (ln == 0 && (put_rpmpt != oput_rpmpt))) { /* prompt changed */
p1 = zhalloc(winw + 2);
if (nllen)
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author