shanselman / shanselman/splitpanefix

Current working directory not preserved if Ctrl+Shift+D used to create new tab from tab with a TUI running

Open
#6 0 comments 1 reaction 2 assignees View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.