new windows will only attach to previously used window if terminal is already running #21971

Open
opened 2026-01-31 07:59:44 +00:00 by claunia · 1 comment
Owner

Originally created by @darealdemayo on GitHub (Jul 14, 2024).

Windows Terminal version

1.20.11781.0

Windows build number

10.0.19045.3930

Other Software

No response

Steps to reproduce

Settings:

  • When Terminal starts: Open windows from a previous session
  • New instance behaviour: Attach to the most recently used window

Expected Behavior

Open previously used window and attach to it as new tab.

Actual Behavior

Opens new window and the previous one.

Originally created by @darealdemayo on GitHub (Jul 14, 2024). ### Windows Terminal version 1.20.11781.0 ### Windows build number 10.0.19045.3930 ### Other Software _No response_ ### Steps to reproduce Settings: - When Terminal starts: Open windows from a previous session - New instance behaviour: Attach to the most recently used window ### Expected Behavior Open previously used window and attach to it as new tab. ### Actual Behavior Opens new window and the previous one.
claunia added the Issue-BugPriority-3Product-TerminalArea-Windowing labels 2026-01-31 07:59:45 +00:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 14, 2024):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (Jul 14, 2024): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Open similar issues: - [New instance behavior: Attach to the most recently used window doesn't work (#17015)](https://github.com/microsoft/terminal/issues/17015), similarity score: 0.85 - [New instance behavior doesn't work as expected with multiple monitors (#14130)](https://github.com/microsoft/terminal/issues/14130), similarity score: 0.80 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21971