about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-04-13 21:56:35 +0100
committerJames Booth <boothj5@gmail.com>2014-04-13 21:56:51 +0100
commitc3418a290959a6b128c6224ccd01562850ae98c0 (patch)
tree33bc9b65c83cb96ce6f1466db263e00a04a2417d /src/ui
parenta4a23fdf689608636e1d7fe049be081728f69e46 (diff)
downloadprofani-tty-c3418a290959a6b128c6224ccd01562850ae98c0.tar.gz
Added /log shared setting
Issue #170
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index aedb637d..ec9130cf 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1223,10 +1223,16 @@ static void
 _cons_log_setting(void)
 {
     cons_show("Max log size (/log maxsize) : %d bytes", prefs_get_max_log_size());
+
     if (prefs_get_boolean(PREF_LOG_ROTATE))
         cons_show("Log rotation (/log rotate)  : ON");
     else
         cons_show("Log rotation (/log rotate)  : OFF");
+
+    if (prefs_get_boolean(PREF_LOG_SHARED))
+        cons_show("Shared log (/log shared)    : ON");
+    else
+        cons_show("Shared log (/log shared)    : OFF");
 }
 
 static void