From 8e50782a72c64fd57bbd7a75dcb808bd84841251 Mon Sep 17 00:00:00 2001 From: Geoff Wing Date: Thu, 27 Feb 2003 02:37:29 +0000 Subject: 18306: fix redisplay of rprompt when line shortens --- ChangeLog | 5 +++++ Src/Zle/zle_refresh.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 99f5b4c82..58416f6ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-02-27 Geoff Wing + + * 18306: Src/Zle/zle_refresh.c: fix redisplay of rprompt when line + shortens + 2003-02-26 Clint Adams * 18303: zshconfig.ac: fix some always-true test evaluations. diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index 2223a35f4..c33c26119 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -614,7 +614,6 @@ zrefresh(void) /* 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 @@ individually */ } } clearf = 0; + oput_rpmpt = put_rpmpt; /* move to the new cursor position */ moveto(nvln, nvcs); -- cgit 1.4.1