-
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
wt --help should print text to terminal, instead of popping open a modal dialog ("Add a CLI executable for interacting with WT") #7258
Comments
Oh man, you and me both. As it turns out, this is a Hard problem. If you want more background on why we're stuck in this hellscape, I'd take a look at this doc. Maybe we could do something silly like There are a few args/commands that really would be best served by a commandline-specifc tool, but we don't have that currently. I'm thinking:
and maybe even in the post #5000 world, there might even be something like
I have half a mind to leave this open as "ship a sidecar commandline executable for only doing commandline activities." Oh there's also #4887 |
I honestly don't know the codebase, and am not qualified to comment on the proposed implementation. However, I appreciate your interest in improving the UX! 👍 I will be keeping an eye on this thread. |
My closed thread is different from this thread but has the same concept. Any update if this will become a feature? It really is silly to have this MessageBox. Would be great to have something like: My use case: |
The idea we've tossed around in meetings before is shipping a totally separate exe, There was discussion previously about maybe creating a special manifest entry that would let an application not allocate a console if it didn't have one, but also otherwise act like a |
Would it work if wtc.exe created a pipe, started WindowsTerminal.exe with the write end of the pipe as stdout, and forwarded the output from the pipe to its own stdout? I hope this would avoid any problems with the GUI process not inheriting a console. By keeping wtc.exe running until the write end of the pipe is closed, this would be somewhat independent of the process model of WindowsTerminal.exe. OTOH, perhaps it needs to wait for the WindowsTerminal.exe process to exit anyway, so that it can forward the exit code. |
Description of the new feature/enhancement
When I run the
wt
command with the--help
parameter, a modal dialog is popped up containing the help text. Instead, I would expect that the help text is printed directly to the terminal and immediately returns control to the user.The modal dialog is visually disruptive to the terminal workflow, as it appears outside the bounds of the terminal window and doesn't match the terminal styling.
Proposed technical implementation details (optional)
n/a
The text was updated successfully, but these errors were encountered: