about summary refs log tree commit diff stats
path: root/src/ui/console.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2018-03-08 22:27:49 +0000
committerJames Booth <boothj5@gmail.com>2018-03-08 22:27:49 +0000
commit720dce866eb759a7b5ecdaff7c7d9ceeb6e2487c (patch)
tree8f9e072c17a0d8ecb8acefd97f304015442fd694 /src/ui/console.c
parent119c5650cf1b40d3074faae1a280e8d3dfbedc03 (diff)
downloadprofani-tty-720dce866eb759a7b5ecdaff7c7d9ceeb6e2487c.tar.gz
Add prefs for empty tabs and tab names
Diffstat (limited to 'src/ui/console.c')
-rw-r--r--src/ui/console.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 55bba1c5..84e7b59b 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1748,6 +1748,22 @@ cons_inpblock_setting(void)
 }
 
 void
+cons_statusbar_setting(void)
+{
+    cons_winpos_setting();
+    if (prefs_get_boolean(PREF_STATUSBAR_SHOW_EMPTY)) {
+        cons_show("Show empty tabs (/statusbar)        : ON");
+    } else {
+        cons_show("Show empty tabs (/statusbar)        : OFF");
+    }
+    if (prefs_get_boolean(PREF_STATUSBAR_SHOW_NAME)) {
+        cons_show("Show tab names (/statusbar)         : ON");
+    } else {
+        cons_show("Show tab names (/statusbar)         : OFF");
+    }
+}
+
+void
 cons_winpos_setting(void)
 {
     ProfWinPlacement *placement = prefs_get_win_placement();