Type of issue
Other (describe below)
Feedback
Currently, if "Startup / When Terminal starts = Open windows from a previous session" option is set, then a command like wt nt -p <profile> will open two windows. The documentation should add instructions to disable this feature when starting Windows Terminal from the command line, or add a switch to disable session restore.
Page URL
https://learn.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows
Content source URL
https://github.com/MicrosoftDocs/terminal/blob/main/TerminalDocs/command-line-arguments.md
Author
@nguyen-dows
Document Id
0d5d0fe3-01ef-66e8-263d-a0a7852ffa7a
Type of issue
Other (describe below)
Feedback
Currently, if "Startup / When Terminal starts = Open windows from a previous session" option is set, then a command like
wt nt -p <profile>will open two windows. The documentation should add instructions to disable this feature when starting Windows Terminal from the command line, or add a switch to disable session restore.Page URL
https://learn.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows
Content source URL
https://github.com/MicrosoftDocs/terminal/blob/main/TerminalDocs/command-line-arguments.md
Author
@nguyen-dows
Document Id
0d5d0fe3-01ef-66e8-263d-a0a7852ffa7a