diff options
author | James Booth <boothj5@gmail.com> | 2018-03-10 22:16:52 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2018-03-10 22:16:52 +0000 |
commit | 95b639a21f77c825a36076562363154216cdad05 (patch) | |
tree | 9eda4cd8d11d08d6c0097124d679927fe15890aa /src/ui/console.c | |
parent | b38f6ba5128a7ce091021537b2253da81f65cddb (diff) | |
download | profani-tty-95b639a21f77c825a36076562363154216cdad05.tar.gz |
WIP add self prefs for statusbar
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 60c5c8f5..26c830fc 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1754,6 +1754,14 @@ cons_statusbar_setting(void) cons_show("Max tabs (/statusbar) : %d", prefs_get_statusbartabs()); + char *pref_self = prefs_get_string(PREF_STATUSBAR_SELF); + if (g_strcmp0(pref_self, "off") == 0) { + cons_show("Self statusbar display (/statusbar) : OFF"); + } else { + cons_show("Self statusbar display (/statusbar) : %s", pref_self); + } + prefs_free_string(pref_self); + char *pref_chat = prefs_get_string(PREF_STATUSBAR_CHAT); cons_show("Chat tab display (/statusbar) : %s", pref_chat); prefs_free_string(pref_chat); |