[PR #19775] Avoid scrolling when the search is open #31957

Open
opened 2026-01-31 09:50:36 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/19775

State: closed
Merged: Yes


When text scrolls in and out of view, depending on the length
of the scrollback and latency of input, GetSearchHighlightFocused
would change which would trigger a ScrollToSearchHighlight call.

This PR changes the behavior such that only actively changing the
search mask triggers a search (typing text or pressing enter).

Closes #19754

Validation Steps Performed

  • Brining text in and out of view doesn't scroll
  • Toggling the aA button scrolls results into view
**Original Pull Request:** https://github.com/microsoft/terminal/pull/19775 **State:** closed **Merged:** Yes --- When text scrolls in and out of view, depending on the length of the scrollback and latency of input, `GetSearchHighlightFocused` would change which would trigger a `ScrollToSearchHighlight` call. This PR changes the behavior such that only actively changing the search mask triggers a search (typing text or pressing enter). Closes #19754 ## Validation Steps Performed * Brining text in and out of view doesn't scroll ✅ * Toggling the aA button scrolls results into view ✅
claunia added the pull-request label 2026-01-31 09:50:36 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#31957