mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
display: with --zero, redraw the bottom row instead of wiping a message
This fixes https://savannah.gnu.org/bugs/?61541.
Bug existed since commit 03637030
from two weeks ago.
This commit is contained in:
parent
be61aad935
commit
511a2850a1
@ -1673,8 +1673,13 @@ void blank_statusbar(void)
|
||||
/* Wipe the status bar clean and include this in the next screen update. */
|
||||
void wipe_statusbar(void)
|
||||
{
|
||||
#ifndef NANO_TINY
|
||||
if (ISSET(ZERO))
|
||||
wredrawln(edit, editwinrows - 1, 1);
|
||||
|
||||
if (ISSET(ZERO) || ISSET(MINIBAR) || LINES == 1)
|
||||
return;
|
||||
#endif
|
||||
|
||||
blank_row(bottomwin, 0);
|
||||
wnoutrefresh(bottomwin);
|
||||
|
Loading…
Reference in New Issue
Block a user