diff options
author | nicm <nicm> | 2022-03-08 18:31:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-06 14:19:51 +0100 |
commit | 98b92c0525f7cd5878122815cbe9adb4e292ce2c (patch) | |
tree | a956bcb418737668358f79c404a95ee1a3d68c6c /options-table.c | |
parent | 57f331438a1eb67d6f1d3380278c8df7c9003dc1 (diff) | |
download | rtmux-98b92c0525f7cd5878122815cbe9adb4e292ce2c.tar.gz rtmux-98b92c0525f7cd5878122815cbe9adb4e292ce2c.tar.bz2 rtmux-98b92c0525f7cd5878122815cbe9adb4e292ce2c.zip |
Add remain-on-exit-format to set text shown when pane is dead.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c index b8a5ccbb..31b0e372 100644 --- a/options-table.c +++ b/options-table.c @@ -1060,6 +1060,19 @@ const struct options_table_entry options_table[] = { "killed ('off' or 'failed') when the program inside exits." }, + { .name = "remain-on-exit-format", + .type = OPTIONS_TABLE_STRING, + .scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE, + .default_str = "Pane is dead (" + "#{?#{!=:#{pane_dead_status},}," + "status #{pane_dead_status},}" + "#{?#{!=:#{pane_dead_signal},}," + "signal #{pane_dead_signal},}, " + "#{t:pane_dead_time})", + .text = "Message shown after the program in a pane has exited, if " + "remain-on-exit is enabled." + }, + { .name = "synchronize-panes", .type = OPTIONS_TABLE_FLAG, .scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE, |