terminal
terminal copied to clipboard
Search results steal focus and scroll when the buffer changes at all
Windows Terminal version
1.21.1272.0
Windows build number
10.0.22631.0
Other Software
No response
Steps to reproduce
- Fill the buffer with enough text to make it scrollable (for example, using
Get-Random -Count 1000in PowerShell), - search something in such a way that the last result is outside the view,
- select a search result which is not the last (optinal),
- type something in the prompt.
Expected Behavior
While typing in the prompt nothing happen, the select result stays the same, and the view focus the prompt.
Actual Behavior
When typing, the search appear to retrigger, and the focus goes to the last result, moving the prompt outside view.
Hey, I've been hitting this too!
Marking it up for 1.22 and as P1 - we should fix it and backport to 1.21 before 1.21 goes stable.