diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-10-10 11:56:51 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-10-10 11:56:51 +0000 |
commit | 66f367304416c4afdc8c01210d57c1eef7f4c636 (patch) | |
tree | c0242ba4dc683f27bbe9b2779db910905dcac8ab /usr.bin/tmux/options-table.c | |
parent | f438bb37b11698b4c634cbcb5eb069176779f289 (diff) |
Add automatic-rename-format option allowing automatic rename to use
something other than pane_current_command.
Diffstat (limited to 'usr.bin/tmux/options-table.c')
-rw-r--r-- | usr.bin/tmux/options-table.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c index 7bbb34195e6..0f6e2e29c49 100644 --- a/usr.bin/tmux/options-table.c +++ b/usr.bin/tmux/options-table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options-table.c,v 1.40 2013/10/10 11:50:20 nicm Exp $ */ +/* $OpenBSD: options-table.c,v 1.41 2013/10/10 11:56:50 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott <nicm@users.sourceforge.net> @@ -482,6 +482,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, |