From 5636d38a9dd399856fd36d33f5d14595e4cafde1 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 16 Nov 2016 09:22:16 +0000 Subject: [PATCH] Initialize modeprefix to 1 properly in window_pane_create, from Artem Fokin. --- window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/window.c b/window.c index 16929deb..1d4ba266 100644 --- a/window.c +++ b/window.c @@ -769,6 +769,7 @@ window_pane_create(struct window *w, u_int sx, u_int sy, u_int hlimit) wp->event = NULL; wp->mode = NULL; + wp->modeprefix = 1; wp->layout_cell = NULL;