microsoft / microsoft/terminal

After trying out Quake mode, running `wt -w 0 sp -s 0.4 pwsh` from any non-quake mode WT terminal always opens a new terminal window

Open
#18,459 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug Needs-Tag-Fix
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Windows Terminal version

1.22.3232.0

Windows build number

10.0.26100.0

Other Software

No response

Steps to reproduce
  1. Run wt --window _quake to try out the Quake mode
  2. Close all Quake mode window, then open a new regular WT window, run wt -w 0 sp -s 0.4 pwsh within it
Expected Behavior

The command wt -w 0 sp -s 0.4 pwsh should split the current window and run PowerShell in the new pane

Actual Behavior

After trying out the Quake mode, running wt -w 0 sp -s 0.4 pwsh from WT (regular window, non-Quake mode) will always start a new window and split it over there, instead of splitting the current window.

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing wt --window _quake and then wt -w 0 sp -s 0.4 pwsh in a regular Windows Terminal window. Trace how window targeting changes after Quake mode has been opened; done means the command splits the current non-Quake window rather than opening and splitting a new one.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, powershell
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.