summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-04-30 15:20:08 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-04-30 15:20:08 +0100
commit6a33a12798b2afeee6fb7bba74d86d628137921e (patch)
tree6d207241bdf174331bbc68cb1efcb995169baa2a /input.c
parentd0fa5207889ee9ee4db45ac3684c882109f91e5b (diff)
Do not remove the automatic-rename option from the global set, only from3.1b
the window (it must stay in the global set or tmux will crash). GitHub issue 2188.
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 82d2b398..e794be2a 100644
--- a/input.c
+++ b/input.c
@@ -2304,7 +2304,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;