diff options
author | Will Song <incertia9474@gmail.com> | 2015-01-08 10:18:29 -0600 |
---|---|---|
committer | Will Song <incertia9474@gmail.com> | 2015-01-08 10:18:29 -0600 |
commit | e57fa1633a6d33583454638d43cc84167a40c19b (patch) | |
tree | 0f514cbf797b31853cbc4530ac649b722eb8c9bb /src/ui | |
parent | 22a8d7a8a3b340b0a371b27727a684d942a8c369 (diff) | |
download | profani-tty-e57fa1633a6d33583454638d43cc84167a40c19b.tar.gz |
add exit title preference to group and add command for setting the preference
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/console.c | 10 | ||||
-rw-r--r-- | src/ui/ui.h | 1 |
2 files changed, 11 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)) diff --git a/src/ui/ui.h b/src/ui/ui.h index 4f78974c..b2e78702 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -300,6 +300,7 @@ void cons_time_setting(void); void cons_mouse_setting(void); void cons_statuses_setting(void); void cons_titlebar_setting(void); +void cons_exittitle_setting(void); void cons_notify_setting(void); void cons_show_desktop_prefs(void); void cons_states_setting(void); |