help: remove an unneeded restriction for small terminals
There is no need to prevent NO_HELP from being unset on terminals with fewer than five rows, because the bottombars() routine already automatically suppresses the help lines on such terminals. This improves the fix for https://savannah.gnu.org/bugs/?61497. (The problem with absent feedback is still there when the terminal has just one row.)master
parent
4f15890105
commit
956a1c2327
|
@ -411,7 +411,7 @@ 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) || ISSET(ZERO)) && LINES > 4) {
|
if (ISSET(NO_HELP) || ISSET(ZERO)) {
|
||||||
UNSET(NO_HELP);
|
UNSET(NO_HELP);
|
||||||
UNSET(ZERO);
|
UNSET(ZERO);
|
||||||
window_init();
|
window_init();
|
||||||
|
|
Loading…
Reference in New Issue