diff options
author | James Booth <boothj5@gmail.com> | 2013-01-22 01:39:18 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-01-22 01:39:18 +0000 |
commit | 114d251b68de69f6b5aaf5759556d4c6248851cc (patch) | |
tree | 550f00e754cdadecb18f793688f3cae8800ffe99 /src/windows.c | |
parent | 134da4d001d1e6fa65b9affb36a85ef7881e97f4 (diff) | |
parent | 5d7022750150eb0e12710a413e18697b64c2ffd1 (diff) | |
download | profani-tty-114d251b68de69f6b5aaf5759556d4c6248851cc.tar.gz |
Merge branch 'master' into caps
Diffstat (limited to 'src/windows.c')
-rw-r--r-- | src/windows.c | 8 |
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) { |