summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authornicm <nicm>2019-06-20 13:40:22 +0000
committernicm <nicm>2019-06-20 13:40:22 +0000
commitfc1df91e034627f674ed905be6a1159da883545e (patch)
tree17b541d73730fd22c781badc5dec1258ef165f2b /input.c
parentc1573727f0ea1d8a2530edc1a7848d9aa1d6f590 (diff)
allow-rename and alternate-screen can be pane options.
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 3e85e14f..7df2a7b0 100644
--- a/input.c
+++ b/input.c
@@ -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);