mirror of
https://github.com/tmux/tmux.git
synced 2026-10-11 13:04:22 +00:00
Do not show the cursor for a hidden active pane.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2121,6 +2121,10 @@ server_client_reset_state(struct client *c)
|
||||
cy += status_line_size(c);
|
||||
}
|
||||
|
||||
/* A hidden pane has no cursor. */
|
||||
if (!window_pane_is_visible(wp))
|
||||
cursor = 0;
|
||||
|
||||
if (!cursor)
|
||||
mode &= ~MODE_CURSOR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user