diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-30 15:20:08 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-30 15:20:08 +0100 |
commit | 6a33a12798b2afeee6fb7bba74d86d628137921e (patch) | |
tree | 6d207241bdf174331bbc68cb1efcb995169baa2a | |
parent | d0fa5207889ee9ee4db45ac3684c882109f91e5b (diff) | |
download | rtmux-6a33a12798b2afeee6fb7bba74d86d628137921e.tar.gz rtmux-6a33a12798b2afeee6fb7bba74d86d628137921e.tar.bz2 rtmux-6a33a12798b2afeee6fb7bba74d86d628137921e.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-- | CHANGES | 4 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | input.c | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -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 diff --git a/configure.ac b/configure.ac index 6a9ba594..d5dbd9c4 100644 --- a/configure.ac +++ b/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) @@ -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; |