commit 5cf412320da4a28517c27e8d0c79e5d5c5f781b6 parent c9fb1cf85af094d1d171e690a4258d951b15ac9d Author: Benno Schulenberg <bensberg@telfort.nl> Date: Sun, 21 Nov 2021 11:24:09 +0100 feedback: with --mini/--zero, suppress message when toggling whitespace The whitespace becoming visible/invisible is feedback enough. Diffstat:
M | src/nano.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/nano.c b/src/nano.c @@ -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)