From 65fc09fac930b45b53e10056096c78d012db3a0e Mon Sep 17 00:00:00 2001 From: Michael Grant Date: Wed, 22 Oct 2025 23:29:21 +0100 Subject: [PATCH] Hide cursor behind floating panes. --- server-client.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server-client.c b/server-client.c index 0309a3b0..d9f4418d 100644 --- a/server-client.c +++ b/server-client.c @@ -2953,6 +2953,10 @@ server_client_reset_state(struct client *c) if (status_at_line(c) == 0) cy += status_line_size(c); } + if (!screen_redraw_is_visible( + screen_redraw_get_visible_ranges(wp, cx, cy, 1), cx)) + cursor = 0; + if (!cursor) mode &= ~MODE_CURSOR; }