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
Benno Schulenberg 2021-11-17 11:36:03 +01:00
parent 1235a5a365
commit 3dfd798d51
1 changed files with 3 additions and 2 deletions

View File

@ -411,8 +411,9 @@ void show_help(void)
memcpy(stash, flags, sizeof(flags));
/* 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(ZERO);
window_init();
} else
blank_statusbar();
@ -549,7 +550,7 @@ void show_help(void)
curs_set(0);
if (ISSET(NO_HELP)) {
if (ISSET(NO_HELP) || ISSET(ZERO)) {
currmenu = oldmenu;
window_init();
} else {