From f8e3414af06df95b18b8e29caa74a7eea3022c92 Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Sat, 17 Jul 2021 20:04:15 +0000 Subject: Add -q/quiet option to raise default message visibility threshold Silencing all windows with `M-+' (across multiple catgirl instances) can be cumbersome, so provide an option to hide events, JOIN/PART noise, etc. by default (each window's threshold will persist across load/save cycles, i.e. when using the `-s/save' option). Started out as `-v | visibility = threshold' to set a specific level, the idea of a simpler toggle comes from june, who also squashed other bugs (as usual). --- chat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'chat.h') diff --git a/chat.h b/chat.h index c247dd7..dd9c823 100644 --- a/chat.h +++ b/chat.h @@ -292,6 +292,7 @@ void commandCompleteAdd(void); enum Heat { Ice, Cold, Warm, Hot }; enum { TimeCap = 64 }; +extern enum Heat uiThreshold; extern struct Time { bool enable; const char *format; -- cgit 1.4.1