Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2026-06-07 21:15:06 +01:00
5 changed files with 87 additions and 16 deletions

View File

@@ -1815,12 +1815,13 @@ server_client_reset_state(struct client *c)
cx = wp->xoff + (int)s->cx - (int)ox;
cy = wp->yoff + (int)s->cy - (int)oy;
r = screen_redraw_get_visible_ranges(wp, cx, cy, 1, NULL);
if (!screen_redraw_is_visible(r, cx))
cursor = 0;
if (status_at_line(c) == 0)
cy += status_line_size(c);
}
r = screen_redraw_get_visible_ranges(wp, cx, cy, 1, NULL);
if (!screen_redraw_is_visible(r, cx))
cursor = 0;
if (!cursor)
mode &= ~MODE_CURSOR;