diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-11-05 21:01:30 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-11-05 21:01:30 +0100 |
commit | 68843f2448256b9761b81dcd7656ea360dae9d75 (patch) | |
tree | 8d8d01c7a7912cdad47c673b16583b8f3cf47836 /src/ui | |
parent | 3d272f02bce39babe943a71bf6df4d9539fc787c (diff) | |
download | profani-tty-68843f2448256b9761b81dcd7656ea360dae9d75.tar.gz |
Display resource information in `/titlebar`
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/console.c | 6 |
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 |