mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
38048: fix "zle redisplay" when called while a listing is below the prompt
This commit is contained in:
parent
6756870a92
commit
564fb25e82
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
2016-03-03 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 38048: Src/zle_refresh.c: fix "zle redisplay" when called while
|
||||
a listing is below the prompt (e.g., from interrupt handler)
|
||||
|
||||
* 38039: Src/options.c: POSIXy behavior for "set +o"
|
||||
|
||||
2016-02-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue