about summary refs log tree commit diff stats
path: root/src/windows.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-01-22 01:39:18 +0000
committerJames Booth <boothj5@gmail.com>2013-01-22 01:39:18 +0000
commit114d251b68de69f6b5aaf5759556d4c6248851cc (patch)
tree550f00e754cdadecb18f793688f3cae8800ffe99 /src/windows.c
parent134da4d001d1e6fa65b9affb36a85ef7881e97f4 (diff)
parent5d7022750150eb0e12710a413e18697b64c2ffd1 (diff)
downloadprofani-tty-114d251b68de69f6b5aaf5759556d4c6248851cc.tar.gz
Merge branch 'master' into caps
Diffstat (limited to 'src/windows.c')
-rw-r--r--src/windows.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/windows.c b/src/windows.c
index 74507e06..da4b664f 100644
--- a/src/windows.c
+++ b/src/windows.c
@@ -1286,6 +1286,11 @@ cons_show_ui_prefs(void)
         cons_show("Mouse handling (/mouse)      : ON");
     else
         cons_show("Mouse handling (/mouse)      : OFF");
+
+    if (prefs_get_statuses())
+        cons_show("Status (/statuses)           : ON");
+    else
+        cons_show("Status (/statuses)           : OFF");
 }
 
 void
@@ -2061,6 +2066,9 @@ _show_status_string(WINDOW *win, const char * const from,
     GDateTime *last_activity, const char * const pre,
     const char * const default_show)
 {
+    if (!prefs_get_statuses())
+        return;
+
     _win_show_time(win, '-');
 
     if (show != NULL) {