summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2022-03-08 20:01:11 +0000
committerThomas Adam <thomas@xteddy.org>2022-03-08 20:01:11 +0000
commit25337ac102b42b0cb44eb5708367345f3a8a5312 (patch)
treed8f37338ce3f0c33f534d7881741c77515d3ec71 /options-table.c
parent2fb6089e81e2bb9230cf802dbb1e7b24ab5e3054 (diff)
parenta3d920930bf77cafa5260e25584dd3ba1d26f9cb (diff)
Merge branch 'obsd-master' into master
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c13
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,