about summary refs log tree commit diff stats
path: root/src/ui/console.c
diff options
context:
space:
mode:
authorWill Song <incertia9474@gmail.com>2015-01-08 10:18:29 -0600
committerWill Song <incertia9474@gmail.com>2015-01-08 10:18:29 -0600
commite57fa1633a6d33583454638d43cc84167a40c19b (patch)
tree0f514cbf797b31853cbc4530ac649b722eb8c9bb /src/ui/console.c
parent22a8d7a8a3b340b0a371b27727a684d942a8c369 (diff)
downloadprofani-tty-e57fa1633a6d33583454638d43cc84167a40c19b.tar.gz
add exit title preference to group and add command for setting the preference
Diffstat (limited to 'src/ui/console.c')
-rw-r--r--src/ui/console.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 3d3a5d8b..1e69ab5c 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -959,6 +959,16 @@ cons_titlebar_setting(void)
 }
 
 void
+cons_exittitle_setting(void)
+{
+    if (prefs_get_boolean(PREF_EXIT_TITLE)) {
+        cons_show("Exit title display (/exittitle)  : ON");
+    } else {
+        cons_show("Exit title display (/exittitle)  : OFF");
+    }
+}
+
+void
 cons_roster_setting(void)
 {
     if (prefs_get_boolean(PREF_ROSTER))