Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes [Terminal: Clear] command #107454

Merged
merged 2 commits into from
Jun 9, 2021
Merged

Fixes [Terminal: Clear] command #107454

merged 2 commits into from
Jun 9, 2021

Conversation

turara
Copy link
Contributor

@turara turara commented Sep 25, 2020

This PR fixes #105491: a bug of Terminal: Clear command stealing focus from an editor or other components.

I have deleted t.focus() from ClearTerminalAction#run method in this PR to prevent the command from stealing focus.

As mentioned in #105491, this line was originally added in #92100 to fix #92076. However I believe Restore focus (#93055) commit was enough to fix #92076.

Remove unnecessary ITerminalInstance#focus method call.
@turara turara changed the title Fixes #105491 Fixes Terminal: Clear command Sep 25, 2020
@turara turara changed the title Fixes Terminal: Clear command Fixes [Terminal: Clear] command Sep 25, 2020
@Tyriar Tyriar added this to the October 2020 milestone Sep 25, 2020
@turara
Copy link
Contributor Author

turara commented Oct 6, 2020

@Tyriar Hi. Should I merge the master branch? Or is there anything I need to do about the VS Code check?

@Tyriar Tyriar modified the milestones: October 2020, November 2020 Oct 28, 2020
Copy link

@rheh rheh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT

@joaomoreno joaomoreno changed the base branch from master to main February 15, 2021 08:51
@Tyriar Tyriar removed this from the February 2021 milestone Feb 25, 2021
@Tyriar Tyriar modified the milestones: May 2021, June 2021 Jun 9, 2021
@Tyriar Tyriar merged commit a5df25e into microsoft:main Jun 9, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terminal: Clear should not yank focus to the terminal Command Palette should return focus to terminal pane
4 participants