Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2026-06-16 12:55:00 +01:00
6 changed files with 250 additions and 229 deletions

View File

@@ -1847,8 +1847,8 @@ 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))
r = window_visible_ranges(wp, cx, cy, 1, NULL);
if (!window_position_is_visible(r, cx))
cursor = 0;
if (status_at_line(c) == 0)