If you run TCC in Windows Terminal and use duplicate tab (Ctrl-Shift-d) or duplicate pane (Alt-Shift-d) you can get the new tab/pane to have the same working directory by prefixing your PROMPT with
That sequence is commonly called OSC9;9. OSC means OperatingSystemCommand.
There is a Microsoft article...
Read more
Code:
$e]9;9;"$P"$e\
That sequence is commonly called OSC9;9. OSC means OperatingSystemCommand.
ESC]
(OSC) is its initiator and ESC\
(ST) is its terminator. I believe OSC9;9 comes from ConEmu. The sequence simply tells the terminal what your CWD is.There is a Microsoft article...
Read more