1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00

* 16527: Src/Zle/zle_refresh.c: Don't lose the rprompt when

clearing an otherwise-blank line.
This commit is contained in:
Andrew Main 2002-01-31 10:51:05 +00:00
parent 908065190d
commit b1dadd97d3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-01-31 Andrew Main (Zefram) <zefram@zsh.org>
* 16527: Src/Zle/zle_refresh.c: Don't lose the rprompt when
clearing an otherwise-blank line.
2002-01-30 Sven Wischnowsky <wischnow@zsh.org>
* 16515: Completion/Zsh/Command/_cd: fixlet to avoid an empty

View file

@ -698,7 +698,7 @@ refreshline(int ln)
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 */
|| (!nllen && (ln != 0 || !put_rpmpt)) /* no line buffer given */
|| (ln == 0 && (put_rpmpt != oput_rpmpt))) { /* prompt changed */
p1 = zhalloc(winw + 2);
if (nllen)