about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-11-05 21:01:30 +0100
committerMichael Vetter <jubalh@iodoru.org>2019-11-05 21:01:30 +0100
commit68843f2448256b9761b81dcd7656ea360dae9d75 (patch)
tree8d8d01c7a7912cdad47c673b16583b8f3cf47836 /src/ui
parent3d272f02bce39babe943a71bf6df4d9539fc787c (diff)
downloadprofani-tty-68843f2448256b9761b81dcd7656ea360dae9d75.tar.gz
Display resource information in `/titlebar`
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 d9dce559..1fe9b01a 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1145,6 +1145,12 @@ cons_titlebar_setting(void)
     } else {
         cons_show("Warn unencrypted (/titlebar)        : OFF");
     }
+
+    if (prefs_get_boolean(PREF_RESOURCE_TITLE)) {
+        cons_show("Resource show (/titlebar)           : ON");
+    } else {
+        cons_show("Resource show (/titlebar)           : OFF");
+    }
 }
 
 void