SIGN IN SIGN UP
microsoft / terminal UNCLAIMED

The new Windows Terminal and the original Windows console host, all in the same place!

0 0 189 C++

Avoid scrolling when the search is open (#19775)

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 ✅

(cherry picked from commit 71409f84f7ac6ec94b55b6e00975467794e32ec0)
Service-Card-Id: PVTI_lADOAF3p4s4BBcTlzgkLCdk
Service-Version: 1.24
L
Leonard Hecker committed
d8b5a488a2a0e943f66f20c5fc3956146e770e34
Parent: 8889180
Committed by Dustin L. Howett <dustin@howett.net> on 2/27/2026, 7:21:44 PM