Terminal: Clear
should not yank focus to the terminal
#105491
Labels
bug
Issue identified by VS Code Team member as probable bug
confirmed
Issue has been confirmed by VS Code Team member
help wanted
Issues identified as good community contribution opportunities
insiders-released
Patch has been released in VS Code Insiders
terminal
Integrated terminal issues
verified
Verification succeeded
Milestone
Steps to Reproduce:
Terminal: Clear
commandDoes this issue occur when all extensions are disabled?: Yes
This is a relatively recent change, via #92076 and #92100. It can make working with e.g. watchers (as used by many common build / iterative testing toolchains) much less convenient, since one now needs to take multiple actions to clear the terminal before saving changes and thus triggering a build or test or linter run, etc.
The solution (taking into account the original issue #92076 and looking at @jheiv's change @ jheiv@0db5731) would be to ensure that focus is returned to the current component (whether an editor or the terminal)…or even better, identify why and how calling
.clear()
on a terminal instance causes focus to move at all in the first place.The text was updated successfully, but these errors were encountered: