mirror of
https://github.com/tmux/tmux.git
synced 2026-10-09 11:44:23 +00:00
Change array item keys to be strings instead of numbers which are
painful to work with.
This commit is contained in:
2
input.c
2
input.c
@@ -2781,7 +2781,7 @@ input_exit_rename(struct input_ctx *ictx)
|
||||
if (ictx->input_len == 0) {
|
||||
o = options_get_only(w->options, "automatic-rename");
|
||||
if (o != NULL)
|
||||
options_remove_or_default(o, -1, NULL);
|
||||
options_remove_or_default(o, NULL, NULL);
|
||||
if (!options_get_number(w->options, "automatic-rename"))
|
||||
window_set_name(w, "", 1);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user