aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-08-19 22:16:11 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-08-19 22:16:11 +0100
commit23519fc0b440ccfe13d52ab3e09ea98c792d4fa7 (patch)
tree4e79c447e4c62f85a2d8763497cb9e1f250fb873 /options-table.c
parent04288fcd4c99117f730f37f8a63ded96fcc04c9d (diff)
downloadrtmux-23519fc0b440ccfe13d52ab3e09ea98c792d4fa7.tar.gz
rtmux-23519fc0b440ccfe13d52ab3e09ea98c792d4fa7.tar.bz2
rtmux-23519fc0b440ccfe13d52ab3e09ea98c792d4fa7.zip
Add automatic-rename-format option allowing automatic rename to use something
other than pane_current_command.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 0b86ef7c..f6a15472 100644
--- a/options-table.c
+++ b/options-table.c
@@ -481,6 +481,11 @@ const struct options_table_entry window_options_table[] = {
.default_num = 1
},
+ { .name = "automatic-rename-format",
+ .type = OPTIONS_TABLE_STRING,
+ .default_str = "#{?pane_in_mode,[tmux],#{pane_current_command}}#{?pane_dead,[dead],}"
+ },
+
{ .name = "c0-change-trigger",
.type = OPTIONS_TABLE_NUMBER,
.default_num = 250,