You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
findMatch keybindings are ignored if focus is still in the search box #9339
Windows build number: Microsoft Windows [Version 10.0.18362.1256]
Windows Terminal version (if applicable): Windows Terminal Preview Version: 1.7.572.0
Any other software?
No
In the terminal, hit ctrl+f to start a search, enter a search term and press enter. Then press F3 and shift+F3 to go back and forth through the search results.
Expected behavior
F3 should highlight the next search result, shift+F3 should highlight the previous result.
Actual behavior
F3 and shift+F3 are ignored as long as focus remains in the search box. Instead enter and shift+enter hightlight the previous, respectively the next result.
If the focus is moved from the search box to the terminal pane, F3 and shift+F3 work as expected.
PS: Your release notes said I could bind the findNext and findPrev actions, when I actually had to bind the findMatch action with a direction parameter ;)
Oh man, there was quite the debate about this in the original PR: #8917 (comment)
We decided against it originally, because it had a bunch of weird edge cases. Our story for how the SearchBoxControl and the TermControl interact is singularly unpleasant. Hopefully we can fix that soon.
Activity
zadjii-msft commentedon Mar 2, 2021
Oh man, there was quite the debate about this in the original PR: #8917 (comment)
We decided against it originally, because it had a bunch of weird edge cases. Our story for how the SearchBoxControl and the TermControl interact is singularly unpleasant. Hopefully we can fix that soon.
Thanks!