allow-rename and alternate-screen can be pane options.

This commit is contained in:
nicm
2019-06-20 13:40:22 +00:00
parent c1573727f0
commit fc1df91e03
4 changed files with 25 additions and 28 deletions

View File

@ -2259,7 +2259,7 @@ input_exit_rename(struct input_ctx *ictx)
{
if (ictx->flags & INPUT_DISCARD)
return;
if (!options_get_number(ictx->wp->window->options, "allow-rename"))
if (!options_get_number(ictx->wp->options, "allow-rename"))
return;
log_debug("%s: \"%s\"", __func__, ictx->input_buf);