Add automatic-rename-format option allowing automatic rename to use something

other than pane_current_command.
This commit is contained in:
Nicholas Marriott
2013-08-19 22:16:11 +01:00
parent 04288fcd4c
commit 23519fc0b4
5 changed files with 92 additions and 58 deletions

View File

@ -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,