about summary refs log tree commit diff stats
path: root/src/command/commands.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/command/commands.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/command/commands.c')
-rw-r--r--src/command/commands.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 5b5bd95e..0da93038 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -3255,6 +3255,12 @@ cmd_titlebar(gchar **args, struct cmd_help_t help)
 }
 
 gboolean
+cmd_exittitle(gchar **args, struct cmd_help_t help)
+{
+    return _cmd_set_boolean_preference(args[0], help, "Exit title", PREF_EXIT_TITLE);
+}
+
+gboolean
 cmd_outtype(gchar **args, struct cmd_help_t help)
 {
     gboolean result = _cmd_set_boolean_preference(args[0], help,