diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-01-23 19:42:22 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-01-23 19:42:22 +0100 |
commit | 56b7482b0817e33286d5a941c0811d05514377d4 (patch) | |
tree | 3b5932d109743ceb37cf031cc885d0eff909ef2e /src/ui/console.c | |
parent | 0401412c64d1a871d472d8cd5f04c89968027a5b (diff) | |
download | profani-tty-56b7482b0817e33286d5a941c0811d05514377d4.tar.gz |
Add option to display MUC name or JID in titlebar
Add `/titlebar use [name|jid]`.
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 820ad93b..49103fcf 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1158,6 +1158,10 @@ cons_titlebar_setting(void) } else { cons_show("Titlebar presence (/titlebar) : OFF"); } + + char *muctitle = prefs_get_string(PREF_TITLEBAR_MUC_TITLE); + cons_show("MUC window title (/titlebar) : %s", muctitle); + prefs_free_string(muctitle); } void |