Skip to content

Feedback: wt nt -p <profile> opens two windows #835

@thdoan

Description

@thdoan

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions