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

Implementing Terminal: Run Recent Commad when there are no open terminal #234124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SalerSimo
Copy link

@SalerSimo SalerSimo commented Nov 18, 2024

Fix #233604
The command 'Terminal: Run Recent Command' will now create a new terminal if no terminals are currently open.

Simply creating a new terminal is not sufficient for the recent command window to display correctly.
When a new terminal is created, it looks like it takes some more time to fully update its related variables, so I inserted a loop of quick sleep functions (up to 5 seconds in total) while continuosly trying to display the recent command window.

@SalerSimo
Copy link
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terminal: Run Recent Command shows up when there are no terminals
2 participants