mirror of
https://github.com/zsh-users/zsh
synced 2024-09-06 08:25:56 +00:00
18306: fix redisplay of rprompt when line shortens
This commit is contained in:
parent
417223a3cc
commit
8e50782a72
|
@ -1,3 +1,8 @@
|
|||
2003-02-27 Geoff Wing <gcw@zsh.org>
|
||||
|
||||
* 18306: Src/Zle/zle_refresh.c: fix redisplay of rprompt when line
|
||||
shortens
|
||||
|
||||
2003-02-26 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 18303: zshconfig.ac: fix some always-true test evaluations.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue