feedback: with --mini/--zero, suppress message when toggling whitespace

The whitespace becoming visible/invisible is feedback enough.
master
Benno Schulenberg 2021-11-21 11:24:09 +01:00
parent c9fb1cf85a
commit 5cf412320d
1 changed files with 2 additions and 1 deletions

View File

@ -1124,7 +1124,8 @@ void toggle_this(int flag)
titlebar(NULL);
}
if ((ISSET(MINIBAR) || ISSET(ZERO)) && (flag == NO_HELP || flag == LINE_NUMBERS))
if ((ISSET(MINIBAR) || ISSET(ZERO)) && (flag == NO_HELP || flag == LINE_NUMBERS ||
flag == WHITESPACE_DISPLAY))
return;
if (flag == NO_HELP || flag == NO_SYNTAX)