-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Add support for wt.exe to run commands in the current Terminal Window #4656
Comments
Yep, it absolutely can! See this doc for more details. terminal/doc/user-docs/UsingCommandlineArguments.md Lines 115 to 130 in 9df9bd0
|
but i want split current window |
wt ; split-pane -p "Windows PowerShell" ; split-pane -H wsl.exe it will open a new terminal... |
Sure yea you can do that in the current window. Use the terminal/src/cascadia/TerminalApp/defaults.json Lines 242 to 243 in 39d3c65
|
but I want use a shell command to do it, I want to write it in my script. |
Unfortunately, that's not supported quite yet. It's mentioned in the "future considerations" part of the original spec. It's sort-of tracked as a sub-point in #4632, but there's not a dedicated thread for it yet. Congratulations, this is now the thread |
We actually do have a thread for it, /dup #4472! |
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! |
@plusls I use this workaround. Create a function in my default profile that opens the new tab with split windows and exits the previous tab.
Then call the function from the terminal when needed.
|
Description of the new feature/enhancement
I found that wt.exe can open a new window and split it, can it split current window like
tmux split-window -v
,tmux split-window -h
?like this:
Proposed technical implementation details (optional)
The text was updated successfully, but these errors were encountered: