terminal
terminal copied to clipboard
WT -? -help --help window should include a link to the command line arguments
including a perma link into the help window
currently the help output is very basic.
Usually commands in cmd / powershell will not open a Win32 message box for help (except some few like slmgr, msiexec but print it in the console
including a link or output in console session
Please consider to output the help content into the console session and / or include a permanent link to https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingCommandlineArguments.md
for further documentation. . This will help new users
currently the output is a Win32 message box.
Help
wt - the Windows Terminal Usage: [OPTIONS] [SUBCOMMAND]
Options: -h,--help Print this help message and exit
Subcommands: new-tab Create a new tab split-pane Create a new split pane focus-tab Move focus to another tab
OK
Please consider to output the help content into the console session
This is not possible. Sorry. Second section of https://github.com/microsoft/terminal/issues/4570#issuecomment-586551445.
Not sure if this should be another issue, but an improvement would be to be able to copy the text from the dialogs. Currently it's impossible to select and copy the text that appears in the help or version window.
@l1n3n01z, you can press Ctrl+C to copy the text from Win32 message boxes like the ones shown by wt --help and wt --version. The message box plays a sound as if it had not understood the key combination, but it copies the text to the clipboard anyway, formatted like this:
---------------------------
Help
---------------------------
Terminale Windows
1.20.11381.0
---------------------------
OK
---------------------------
(Curiously, if you press Ctrl+Insert instead, then the message box likewise copies the text, but it does not play a sound.)
As for showing a link in the wt --help window: it could be done by replacing the message box with a task dialog and handling the TDN_HYPERLINK_CLICKED notification in the callback function. However, the current wt --help window has some ugly misalignment and line wrapping in its two-column tables, and a task dialog wouldn't support such formatting any better than a message box, so a custom dialog box might be a better solution.