diff options
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1558,6 +1558,8 @@ input_exit_rename(struct input_ctx *ictx) { if (ictx->flags & INPUT_DISCARD) return; + if (!options_get_number(&ictx->wp->window->options, "allow-rename")) + return; log_debug("%s: \"%s\"", __func__, ictx->input_buf); xfree(ictx->wp->window->name); |