Duplicated tab should retain the context of the source tab such as current folder path #18709

Open
opened 2026-01-31 06:22:05 +00:00 by claunia · 0 comments
Owner

Originally created by @egvijayanand on GitHub (Oct 18, 2022).

Windows Terminal version

1.15.2875.0

Windows build number

10.0.22621.674

Other Software

No response

Steps to reproduce

Experiencing this issue in both Command Prompt and Windows PowerShell.

  1. Launch Windows Terminal
  2. Open a Command Prompt
  3. Navigate to any folder apart from the one configured in the launch profile
  4. Now duplicate this tab
  5. Go to the duplicated tab, and check the context of this tab, it is defaulting to the launch profile rather than the source tab

Expected Behavior

The duplicated tab should retain the source context. That's what duplication is (the same as how web browsers do).

Actual Behavior

Defaults to the launch profile rather than retaining the source context.

Originally created by @egvijayanand on GitHub (Oct 18, 2022). ### Windows Terminal version 1.15.2875.0 ### Windows build number 10.0.22621.674 ### Other Software _No response_ ### Steps to reproduce Experiencing this issue in both Command Prompt and Windows PowerShell. 1. Launch Windows Terminal 2. Open a Command Prompt 3. Navigate to any folder apart from the one configured in the launch profile 4. Now duplicate this tab 5. Go to the duplicated tab, and check the context of this tab, it is defaulting to the launch profile rather than the source tab ### Expected Behavior The duplicated tab should retain the source context. That's what duplication is (the same as how web browsers do). ### Actual Behavior Defaults to the launch profile rather than retaining the source context.
claunia added the Needs-TriageIssue-BugNeeds-Author-FeedbackNo-Recent-Activity labels 2026-01-31 06:22:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18709