mirror of https://github.com/tmux/tmux.git
change option name to `allow-set-title` and update tmux.1
parent
c124d74fd2
commit
075a95c236
2
input.c
2
input.c
|
@ -2372,7 +2372,7 @@ input_exit_osc(struct input_ctx *ictx)
|
|||
switch (option) {
|
||||
case 0:
|
||||
case 2:
|
||||
if (options_get_number(ictx->wp->options, "allow-rename-pane") == 1 &&
|
||||
if (options_get_number(ictx->wp->options, "allow-set-title") == 1 &&
|
||||
screen_set_title(sctx->s, p) && wp != NULL) {
|
||||
notify_pane("pane-title-changed", wp);
|
||||
server_redraw_window_borders(wp->window);
|
||||
|
|
|
@ -875,12 +875,12 @@ const struct options_table_entry options_table[] = {
|
|||
"to rename windows."
|
||||
},
|
||||
|
||||
{ .name = "allow-rename-pane",
|
||||
{ .name = "allow-set-title",
|
||||
.type = OPTIONS_TABLE_FLAG,
|
||||
.scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
|
||||
.default_num = 0,
|
||||
.text = "Whether applications are allowed to use the escape sequence "
|
||||
"to rename pane."
|
||||
"to set title"
|
||||
},
|
||||
|
||||
{ .name = "alternate-screen",
|
||||
|
|
6
tmux.1
6
tmux.1
|
@ -4752,6 +4752,12 @@ they will be allowed even if the pane is invisible.
|
|||
Allow programs in the pane to change the window name using a terminal escape
|
||||
sequence (\eek...\ee\e\e).
|
||||
.Pp
|
||||
.It Xo Ic allow-set-title
|
||||
.Op Ic on | off
|
||||
.Xc
|
||||
Allow programs in the pane to change the title using a terminal escape
|
||||
sequence (\eek...\ee\e\e).
|
||||
.Pp
|
||||
.It Xo Ic alternate-screen
|
||||
.Op Ic on | off
|
||||
.Xc
|
||||
|
|
Loading…
Reference in New Issue