diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-02-20 08:11:58 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-02-20 08:11:58 +0100 |
commit | 80dd3fdbb2ee8c453f5828d8cacb029d222d3779 (patch) | |
tree | 9e15b43097a1da577035f2df477feeb32b211e34 /src/ui/console.c | |
parent | 6aa793fca6c3ec74e04d28ce209dd460252e1079 (diff) | |
download | profani-tty-80dd3fdbb2ee8c453f5828d8cacb029d222d3779.tar.gz |
Add option to color MUC history like regular messages
`/logging group color` has: * `unanimous` which will color it with one unanimous color. Like it was done always. * `regular` which colors it like regular incoming messages. Regards https://github.com/profanity-im/profanity/issues/1261
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index c0abbc36..b60dd75e 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1854,14 +1854,18 @@ void cons_logging_setting(void) { if (prefs_get_boolean(PREF_CHLOG)) - cons_show("Chat logging (/logging chat) : ON"); + cons_show("Chat logging (/logging chat) : ON"); else - cons_show("Chat logging (/logging chat) : OFF"); + cons_show("Chat logging (/logging chat) : OFF"); if (prefs_get_boolean(PREF_GRLOG)) - cons_show("Groupchat logging (/logging group) : ON"); + cons_show("Groupchat logging (/logging group) : ON"); else - cons_show("Groupchat logging (/logging group) : OFF"); + cons_show("Groupchat logging (/logging group) : OFF"); + + char *pref = prefs_get_string(PREF_HISTORY_COLOR_MUC); + cons_show("MUC history color (/logging group color) : %s", pref); + prefs_free_string(pref); } void |