diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2016-03-03 13:03:40 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2016-03-03 13:03:40 -0800 |
commit | 564fb25e821bdd143d23c4e22bc98254b0f8dd59 (patch) | |
tree | fb452f9bf57ce41c2a370a93843506bb933040f7 /Src | |
parent | 6756870a9263f510f19b395b37a29e35168f8917 (diff) | |
download | zsh-564fb25e821bdd143d23c4e22bc98254b0f8dd59.tar.gz zsh-564fb25e821bdd143d23c4e22bc98254b0f8dd59.tar.xz zsh-564fb25e821bdd143d23c4e22bc98254b0f8dd59.zip |
38048: fix "zle redisplay" when called while a listing is below the prompt
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/zle_refresh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index 7e4f32876..aca676a1c 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -2435,8 +2435,8 @@ redisplay(UNUSED(char **args)) moveto(0, 0); zputc(&zr_cr); /* extra care */ tc_upcurs(lprompth - 1); - resetneeded = 1; - clearflag = 0; + resetneeded = !showinglist; + clearflag = showinglist; return 0; } |