zsh-workers
 help / color / mirror / code / Atom feed
From: Geoff Wing <mason@primenet.com.au>
To: zsh-workers@sunsite.dk
Subject: PATCH: for: restoring the RPROMPT broken?
Date: Thu, 27 Feb 2003 02:33:40 +0000 (UTC)	[thread overview]
Message-ID: <b3jte4$qjn$1@coral.primenet.com.au> (raw)
In-Reply-To: <20030224172213.GA18105@binome.blorf.net>

Wayne Davison <wayned@users.sourceforge.net> typed:
: I've noticed that in 4.1.0-dev-6 that when the RPROMPT vanishes (due
: to the typing of a long command), it does not pop back into existence
[...] 
: I don't think this was an intentional change, was it?  I don't see
: anything about it in the ChangeLog file.

Whoops, I did that.  And it's only been broken since October 2001!

Index: Src/Zle/zle_refresh.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_refresh.c,v
retrieving revision 1.7
diff -u -r1.7 zle_refresh.c
--- Src/Zle/zle_refresh.c	1 Jul 2002 16:50:43 -0000	1.7
+++ Src/Zle/zle_refresh.c	27 Feb 2003 02:25:39 -0000
@@ -614,7 +614,6 @@
 
     /* output the right-prompt if appropriate */
 	if (put_rpmpt && !ln && !oput_rpmpt) {
-	    oput_rpmpt = put_rpmpt;
 	    moveto(0, winw - 1 - rpromptw);
 	    zputs(rpromptbuf, shout);
 	    vcs = winw - 1;
@@ -662,6 +661,7 @@
 	}
     }
     clearf = 0;
+    oput_rpmpt = put_rpmpt;
 
 /* move to the new cursor position */
     moveto(nvln, nvcs);
 

Regards,
-- 
Geoff Wing : <gcw@pobox.com>
Rxvt Stuff : <gcw@rxvt.org>
Zsh Stuff  : <gcw@zsh.org>


      reply	other threads:[~2003-02-27  2:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24 17:22 Wayne Davison
2003-02-27  2:33 ` Geoff Wing [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='b3jte4$qjn$1@coral.primenet.com.au' \
    --to=mason@primenet.com.au \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).