mirror of https://github.com/tmux/tmux.git
Merge branch 'obsd-master'
commit
a7ce19347a
|
@ -319,12 +319,6 @@ const struct options_table_entry options_table[] = {
|
||||||
.default_num = 500
|
.default_num = 500
|
||||||
},
|
},
|
||||||
|
|
||||||
{ .name = "set-remain-on-exit",
|
|
||||||
.type = OPTIONS_TABLE_FLAG,
|
|
||||||
.scope = OPTIONS_TABLE_SESSION,
|
|
||||||
.default_num = 0
|
|
||||||
},
|
|
||||||
|
|
||||||
{ .name = "set-titles",
|
{ .name = "set-titles",
|
||||||
.type = OPTIONS_TABLE_FLAG,
|
.type = OPTIONS_TABLE_FLAG,
|
||||||
.scope = OPTIONS_TABLE_SESSION,
|
.scope = OPTIONS_TABLE_SESSION,
|
||||||
|
|
|
@ -358,9 +358,6 @@ session_new(struct session *s, const char *name, int argc, char **argv,
|
||||||
notify_window_linked(s, w);
|
notify_window_linked(s, w);
|
||||||
environ_free(env);
|
environ_free(env);
|
||||||
|
|
||||||
if (options_get_number(s->options, "set-remain-on-exit"))
|
|
||||||
options_set_number(w->options, "remain-on-exit", 1);
|
|
||||||
|
|
||||||
session_group_synchronize_from(s);
|
session_group_synchronize_from(s);
|
||||||
return (wl);
|
return (wl);
|
||||||
}
|
}
|
||||||
|
|
13
tmux.1
13
tmux.1
|
@ -2700,19 +2700,6 @@ flag to
|
||||||
Repeat is enabled for the default keys bound to the
|
Repeat is enabled for the default keys bound to the
|
||||||
.Ic resize-pane
|
.Ic resize-pane
|
||||||
command.
|
command.
|
||||||
.It Xo Ic set-remain-on-exit
|
|
||||||
.Op Ic on | off
|
|
||||||
.Xc
|
|
||||||
Set the
|
|
||||||
.Ic remain-on-exit
|
|
||||||
window option for any windows first created in this session.
|
|
||||||
When this option is true, windows in which the running program has
|
|
||||||
exited do not close, instead remaining open but inactivate.
|
|
||||||
Use the
|
|
||||||
.Ic respawn-window
|
|
||||||
command to reactivate such a window, or the
|
|
||||||
.Ic kill-window
|
|
||||||
command to destroy it.
|
|
||||||
.It Xo Ic set-titles
|
.It Xo Ic set-titles
|
||||||
.Op Ic on | off
|
.Op Ic on | off
|
||||||
.Xc
|
.Xc
|
||||||
|
|
Loading…
Reference in New Issue