-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Enable sending input to terminal instance by wt.exe #12925
Comments
Okay this might seem silly, but This sounds a lot like #9368, but I might need more context on your actual use case here |
There are many case that we can't type in current window, for example: implementing a plugin in vscode to let current terminal cd to current file location. Or we can trigger commands execution from some launcher apps, and see result in current terminal. It's too heavy for these use cases to start new wnidows terminal instances, reuse existing instances will be much better. |
Okay yea that's on me. Must not have had enough coffee - I read "commandline" and automatically assumed you were already sitting at the Terminal window and wanted to run that commandline in the Terminal window 😝 /dup #9368 |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Description of the new feature/enhancement
Some times we need to control windows terminal through command line. For example: switch dir to a given path. Now the only way to do that is to open a new pane or tab through
wt.exe
. However, open a new pane or tab is very slow when using powershell, it will be faster if we can just send input to a existing terminal, like:wt.exe -w 0 -S "cd ~/project/MyProj; git pull"
Proposed technical implementation details (optional)
The text was updated successfully, but these errors were encountered: