Skip to content

Commit

Permalink
doc: add a note about running wt in the current instance (#5448)
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjii-msft authored Apr 21, 2020
1 parent 8a976c0 commit 6995d0b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/user-docs/UsingCommandlineArguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Display the help message.

Opens a new tab with the given customizations. On its _first_ invocation, also
opens a new window. Subsequent `new-tab` commands will all open new tabs in the
same window.
same window. <sup>[[1](#footnote-1)]</sup>

**Parameters**:

Expand All @@ -44,7 +44,7 @@ same window.
`split-pane [-H]|[-V] [terminal_parameters]`

Creates a new pane in the currently focused tab by splitting the given pane
vertically or horizontally.
vertically or horizontally. <sup>[[1](#footnote-1)]</sup>

**Parameters**:

Expand Down Expand Up @@ -89,6 +89,10 @@ following:
selected profile. If the user wants to use a `;` in this commandline, it
should be escaped as `\;`.

### Notes

* <span id="footnote-1"></span> [1]: If you try to run a `wt` commandline while running in a Windows Terminal window, the commandline will _always_ create a new window by default. Being able to run `wt` commandlines in the _current_ window is planned in the future - for more information, refer to [#4472].

## Examples

### Open Windows Terminal in the current directory
Expand Down Expand Up @@ -126,3 +130,4 @@ This creates a new Windows Terminal window with one tab, and 3 panes:
`commandline`).

[#4023]: https://github.com/microsoft/terminal/pull/4023
[#4472]: https://github.com/microsoft/terminal/issues/4472

0 comments on commit 6995d0b

Please sign in to comment.