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.
pull/2195/head
nicm 2020-04-30 13:31:22 +00:00
parent 1574126e8a
commit 048f1ff18a
1 changed files with 1 additions and 1 deletions

View File

@ -2348,7 +2348,7 @@ input_exit_rename(struct input_ctx *ictx)
return;
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)
options_remove(oe);
return;