tweaks: on one-row terminals, suppress the message for two toggles

Their effect is feedback enough.
master
Benno Schulenberg 2021-11-23 10:16:54 +01:00
parent 8850015822
commit 0941185fcf
1 changed files with 1 additions and 1 deletions

View File

@ -1130,7 +1130,7 @@ void toggle_this(int flag)
}
if (flag == NO_HELP || flag == LINE_NUMBERS || flag == WHITESPACE_DISPLAY)
if (ISSET(MINIBAR) || ISSET(ZERO))
if (ISSET(MINIBAR) || ISSET(ZERO) || LINES == 1)
return;
if (flag == NO_HELP || flag == NO_SYNTAX)