Skip to content

Commit

Permalink
Do not remove the automatic-rename option from the global set, only from
Browse files Browse the repository at this point in the history
the window (it must stay in the global set or tmux will crash). GitHub
issue 2188.
  • Loading branch information
nicm committed Apr 30, 2020
1 parent d0fa520 commit 6a33a12
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES
@@ -1,3 +1,7 @@
CHANGES FROM 3.1a TO 3.1b

* Fix crash when allow-rename is on and an empty name is set.

CHANGES FROM 3.1 TO 3.1a

* Do not close stdout prematurely in control mode since it is needed to print
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
@@ -1,6 +1,6 @@
# configure.ac

AC_INIT([tmux], 3.1a)
AC_INIT([tmux], 3.1b)
AC_PREREQ([2.60])

AC_CONFIG_AUX_DIR(etc)
Expand Down
2 changes: 1 addition & 1 deletion input.c
Expand Up @@ -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;
Expand Down

0 comments on commit 6a33a12

Please sign in to comment.