"Attach to the most recently used window" not working in preview #23531

Open
opened 2026-01-31 08:44:58 +00:00 by claunia · 0 comments
Owner

Originally created by @vefatica on GitHub (Aug 16, 2025).

I have

Image

If I'm running the non-preview version (D:\wt\WindowsTerminal.exe) and I issue D:\wt\WindowsTerminal.exe nt, I get a new tab in the current window (the desired behavior).

If I'm running the preview (D:\wtp\WindowsTerminal.exe) and I issue D:\wtp\WindowsTerminal.exe nt, I get a new window/instance (not the desired behavior).

What's up with that? In the second case above, "-w 0" makes no difference.

I'm using these.

Microsoft Windows 10 Pro for Workstations
10.0.19045.6216 (2009, 22H2)
WindowsTerminal 1.22.2507.30001 (1.22.2111.0)
WindowsTerminal 1.23.2507.29002 (preview) (1.23.2102.0)

Originally created by @vefatica on GitHub (Aug 16, 2025). I have <img width="321" height="45" alt="Image" src="https://github.com/user-attachments/assets/3c4d9315-4660-43fd-9b28-ff9619e334fb" /> If I'm running the non-preview version (D:\wt\WindowsTerminal.exe) and I issue `D:\wt\WindowsTerminal.exe nt`, I get a new tab in the current window (the desired behavior). If I'm running the preview (D:\wtp\WindowsTerminal.exe) and I issue `D:\wtp\WindowsTerminal.exe nt`, I get a new window/instance (not the desired behavior). What's up with that? In the second case above, "-w 0" makes no difference. I'm using these. Microsoft Windows 10 Pro for Workstations 10.0.19045.6216 (2009, 22H2) WindowsTerminal 1.22.2507.30001 (1.22.2111.0) WindowsTerminal 1.23.2507.29002 (preview) (1.23.2102.0)
claunia added the Issue-BugPriority-3Needs-Tag-FixProduct-TerminalArea-Windowing labels 2026-01-31 08:44:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23531