mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 21:01:24 +03:00
display: do not wipe the status bar when --zero or --minibar is active
With --zero, any message that was there will get overwitten by the
text window anyway as result of the current operation. And with
--minibar, any message will get overwritten with the minibar.
This fixes https://savannah.gnu.org/bugs/?61539.
Bug existed since commit 03637030
from two weeks ago.
This commit is contained in:
parent
c06f7d43e9
commit
be61aad935
@ -1673,6 +1673,9 @@ void blank_statusbar(void)
|
|||||||
/* Wipe the status bar clean and include this in the next screen update. */
|
/* Wipe the status bar clean and include this in the next screen update. */
|
||||||
void wipe_statusbar(void)
|
void wipe_statusbar(void)
|
||||||
{
|
{
|
||||||
|
if (ISSET(ZERO) || ISSET(MINIBAR) || LINES == 1)
|
||||||
|
return;
|
||||||
|
|
||||||
blank_row(bottomwin, 0);
|
blank_row(bottomwin, 0);
|
||||||
wnoutrefresh(bottomwin);
|
wnoutrefresh(bottomwin);
|
||||||
lastmessage = VACUUM;
|
lastmessage = VACUUM;
|
||||||
|
Loading…
Reference in New Issue
Block a user