From 048f1ff18adda4a3b7a5771924defea052cd7884 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 30 Apr 2020 13:31:22 +0000 Subject: [PATCH] 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. --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.c b/input.c index 4901e886..919cf15d 100644 --- a/input.c +++ b/input.c @@ -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;