From bdbec099cc858e8150884b3bcd984d2586531537 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 19 Dec 2015 08:43:04 +0000 Subject: [PATCH] Make input off flag (selectp -d) apply to synchronize-panes too. --- window.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/window.c b/window.c index 01d5f973..67d047b9 100644 --- a/window.c +++ b/window.c @@ -1127,7 +1127,9 @@ window_pane_key(struct window_pane *wp, struct client *c, struct session *s, TAILQ_FOREACH(wp2, &wp->window->panes, entry) { if (wp2 == wp || wp2->mode != NULL) continue; - if (wp2->fd != -1 && window_pane_visible(wp2)) + if (wp2->fd == -1 || wp2->flags & PANE_INPUTOFF) + continue; + if (window_pane_visible(wp2)) input_key(wp2, key, NULL); } }