mirror of
https://github.com/tmux/tmux.git
synced 2025-01-22 05:37:07 +00:00
Do not remove the automatic-rename option from the global set, only from
the window (it must stay in the global set or tmux will crash). GitHub issue 2188.
This commit is contained in:
parent
1574126e8a
commit
048f1ff18a
2
input.c
2
input.c
@ -2348,7 +2348,7 @@ input_exit_rename(struct input_ctx *ictx)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (ictx->input_len == 0) {
|
if (ictx->input_len == 0) {
|
||||||
oe = options_get(wp->window->options, "automatic-rename");
|
oe = options_get_only(wp->window->options, "automatic-rename");
|
||||||
if (oe != NULL)
|
if (oe != NULL)
|
||||||
options_remove(oe);
|
options_remove(oe);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user