Skip to content

Commit

Permalink
Update new-tab-same-directory.md to mention OSC 9;9 (#779)
Browse files Browse the repository at this point in the history
The docs mention using a specific escape sequence, but they don't
mention the name.

I've added a mention to OSC 9;9 as often shell themes / tools refer to
the escape sequence by name. This gives users trying to enable this
feature in their tools something to search for.
  • Loading branch information
MattKotsenas authored Sep 25, 2024
1 parent abc81aa commit 315bc04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TerminalDocs/tutorials/new-tab-same-directory.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Typically, the "new tab" and "split pane" actions will always open a new tab/pan

Unfortunately, on Windows, it's tricky to determine what the current working directory ("CWD") for a process is. Even if we were able to look it up, not all applications actually set their CWD as they navigate. Notably, Windows PowerShell doesn't change its CWD as you `cd` around the file system! Duplicating the CWD of PowerShell automatically would almost always be wrong.

Fortunately, there's a workaround. Applications can emit a special escape sequence to manually tell the Terminal what the CWD should be.
Fortunately, there's a workaround. Applications can emit a special escape sequence (specifically the "OSC 9;9" format) to manually tell the Terminal what the CWD should be.

In this tutorial, you learn how to:

Expand Down

0 comments on commit 315bc04

Please sign in to comment.