aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2020-04-30 13:31:22 +0000
committernicm <nicm>2020-04-30 13:31:22 +0000
commit048f1ff18adda4a3b7a5771924defea052cd7884 (patch)
tree38414108d6122fd16713e86dbb5bba23abbf0cb8
parent1574126e8a424a442b66b4bd778539b571eebfcf (diff)
downloadrtmux-048f1ff18adda4a3b7a5771924defea052cd7884.tar.gz
rtmux-048f1ff18adda4a3b7a5771924defea052cd7884.tar.bz2
rtmux-048f1ff18adda4a3b7a5771924defea052cd7884.zip
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.
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
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;