feedback: to have a status bar, suppress --zero while in the help viewer
This partially fixes https://savannah.gnu.org/bugs/?61497.
(It is not fixed for when the terminal has less than five rows.)
Bug existed since commit 03637030
from last week.
master
parent
1235a5a365
commit
3dfd798d51
|
@ -411,8 +411,9 @@ void show_help(void)
|
||||||
memcpy(stash, flags, sizeof(flags));
|
memcpy(stash, flags, sizeof(flags));
|
||||||
|
|
||||||
/* Ensure that the help screen's shortcut list can be displayed. */
|
/* Ensure that the help screen's shortcut list can be displayed. */
|
||||||
if (ISSET(NO_HELP) && LINES > 4) {
|
if ((ISSET(NO_HELP) || ISSET(ZERO)) && LINES > 4) {
|
||||||
UNSET(NO_HELP);
|
UNSET(NO_HELP);
|
||||||
|
UNSET(ZERO);
|
||||||
window_init();
|
window_init();
|
||||||
} else
|
} else
|
||||||
blank_statusbar();
|
blank_statusbar();
|
||||||
|
@ -549,7 +550,7 @@ void show_help(void)
|
||||||
|
|
||||||
curs_set(0);
|
curs_set(0);
|
||||||
|
|
||||||
if (ISSET(NO_HELP)) {
|
if (ISSET(NO_HELP) || ISSET(ZERO)) {
|
||||||
currmenu = oldmenu;
|
currmenu = oldmenu;
|
||||||
window_init();
|
window_init();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue