From ddf6ada3d110ea2f20ffd69070bcc199c9426733 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 9 Dec 2019 16:12:54 +0100 Subject: Add initial support for XEP-0392 The last 3 commits added basic support. Thanks @aaptel! This commit adds basic settings interface to use it. See `/color on|off`. We still have to enable settings for color blindness. And maybe another setting to decide whether to color the occupantslist/roster with the same algo. Regards https://github.com/profanity-im/profanity/issues/1191 --- src/command/cmd_funcs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/command/cmd_funcs.h') diff --git a/src/command/cmd_funcs.h b/src/command/cmd_funcs.h index aab6aca2..cd37192e 100644 --- a/src/command/cmd_funcs.h +++ b/src/command/cmd_funcs.h @@ -223,4 +223,6 @@ gboolean cmd_save(ProfWin *window, const char *const command, gchar **args); gboolean cmd_reload(ProfWin *window, const char *const command, gchar **args); gboolean cmd_paste(ProfWin *window, const char *const command, gchar **args); + +gboolean cmd_color(ProfWin *window, const char *const command, gchar **args); #endif -- cgit 1.4.1-2-gfad0