From ccd4dd7ff2a24eec2e3a5e12aaf96563fe659139 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 6 Jan 2026 09:11:15 +0000 Subject: [PATCH] Do not log theme if pane is NULL. --- input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/input.c b/input.c index 0fd02dce..4f5bd38f 100644 --- a/input.c +++ b/input.c @@ -3397,6 +3397,8 @@ input_report_current_theme(struct input_ctx *ictx) { struct window_pane *wp = ictx->wp; + if (wp == NULL) + return; switch (window_pane_get_theme(wp)) { case THEME_DARK: log_debug("%s: %%%u dark theme", __func__, wp->id);