shanselman / shanselman/splitpanefix
Current working directory not preserved if Ctrl+Shift+D used to create new tab from tab with a TUI running
@shanselman is already working on this.
Since May 17, 2026.
- #7 by @copilot-swe-agent — closed without merging
- Dominant language
- PowerShell
- Stars
- 42
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
It's probable that this was not expected to work, and it's possible that it will be difficult to make it work.
In a tab with cwd C:\src\unify I had a TUI (specifically gitui) running when I used Ctrl+Shift+D to open a new tab. It opened, but its cwd remained as ~.
I closed the TUI in the first tab and repeated Ctrl+Shift+D. This time, the new tab was created, and its cwd was set to match that of the first tab as expected.
When gitui runs it sets the tab title to "gitui (\?\C:\src\unify)" if that is at all significant.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.