microsoft / microsoft/terminal

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

Open
#17,559 1 comment 0 reactions 0 assignees View on GitHub
Area-Windowing Issue-Bug Priority-3 Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### 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.

Contributor guide

Open the contributing guide

Research direction

Reproduce the behavior using Windows Terminal 1.20.11781.0 on Windows 10.0.19045.3930 with the listed session and new-instance settings. Investigate the handling of previously used windows and terminal startup, and consider the issue complete when a new instance attaches as a tab to the restored window instead of opening another window.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.