wt.exe split-pane doesn't work in quake mode #17892

Open
opened 2026-01-31 05:57:39 +00:00 by claunia · 9 comments
Owner

Originally created by @CherryWorm on GitHub (Jul 8, 2022).

Windows Terminal version

1.15.1863.0

Windows build number

10.0.22000.739

Other Software

No response

Steps to reproduce

Open a quake terminal and execute wt.exe -w 0 split-pane

Expected Behavior

The quake terminal to split

Actual Behavior

If a non-quake terminal is already open it is split. Otherwise a new non-quake terminal is opened and immediately split

Originally created by @CherryWorm on GitHub (Jul 8, 2022). ### Windows Terminal version 1.15.1863.0 ### Windows build number 10.0.22000.739 ### Other Software _No response_ ### Steps to reproduce Open a quake terminal and execute `wt.exe -w 0 split-pane` ### Expected Behavior The quake terminal to split ### Actual Behavior If a non-quake terminal is already open it is split. Otherwise a new non-quake terminal is opened and immediately split
claunia added the Issue-BugProduct-TerminalArea-Windowing labels 2026-01-31 05:57:39 +00:00
Author
Owner

@DHowett commented on GitHub (Jul 8, 2022):

So, because the quake window is "special" (it can be hidden in a way that normal windows can't), it's excluded from the list of recent windows that -w 0 consults.

To split the quake window, you may want to target it specifically: -w _quake will do it.

@DHowett commented on GitHub (Jul 8, 2022): So, because the quake window is "special" (it can be hidden in a way that normal windows can't), it's excluded from the list of recent windows that `-w 0` consults. To split the quake window, you may want to target it specifically: `-w _quake` will do it.
Author
Owner

@CherryWorm commented on GitHub (Jul 8, 2022):

Is there any way to detect whether you're in a quake window programatically?

@CherryWorm commented on GitHub (Jul 8, 2022): Is there any way to detect whether you're in a quake window programatically?
Author
Owner

@DHowett commented on GitHub (Jul 8, 2022):

... frick. No. Excellent question.

@DHowett commented on GitHub (Jul 8, 2022): ... frick. No. Excellent question.
Author
Owner

@zadjii-msft commented on GitHub (Jul 11, 2022):

Huh. Yea maybe that was an oversight when doing #9956. Maybe -w 0 should still work for quake, but "Attach to the most recently used window" should not. Not sure if there's a good way to differentiate between the two, however.

@zadjii-msft commented on GitHub (Jul 11, 2022): Huh. Yea maybe that was an oversight when doing #9956. Maybe `-w 0` _should_ still work for quake, but "Attach to the most recently used window" should _not_. Not sure if there's a good way to differentiate between the two, however.
Author
Owner

@zadjii-msft commented on GitHub (Jul 11, 2022):

discussion: Yep, we should totally pull these two code paths apart.

@zadjii-msft commented on GitHub (Jul 11, 2022): discussion: Yep, we should totally pull these two code paths apart.
Author
Owner

@BleedingDev commented on GitHub (Apr 26, 2025):

So is there working solution that enables me to split quake Window (or even better have it split by default? :)

In the docs I see this text:

For example, running wt -w _quake will open a new "quake window". Running that command again will open a new tab in the existing quake window.

@BleedingDev commented on GitHub (Apr 26, 2025): So is there working solution that enables me to split quake Window (or even better have it split by default? :) In the docs I see this text: > For example, running `wt -w _quake` will open a new ["quake window"](https://learn.microsoft.com/en-gb/windows/terminal/tips-and-tricks#quake-mode). Running that command again will open a new tab in the existing quake window.
Author
Owner

@sgornick commented on GitHub (Apr 30, 2025):

So is there working solution that enables me to split quake Window (or even better have it split by default? :)

from within a WT terminal already in Quake mode, I can issue the command:
wt -w _quake split-pane
and that will open a new pane on the right side and put focus there. This is functionally equivalent of doing Alt-Shift-+ from a Quake mode terminal

But there is no command or keystroke that I'm aware of where I can, from a non-Quake mode terminal, cause a split-pane to occur in the Quake-mode window

As far as "by default", I do have a Desktop shortcut where I have the target set to:
%LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe -w _quake cmd.exe ; split-pane -d C:\ cmd.exe ; move-focus first
and that will launch Quake mode window with two Command Prompt terminal consoles, each in its own pane, and the cursor ready for input in the left-most pane

@sgornick commented on GitHub (Apr 30, 2025): > So is there working solution that enables me to split quake Window (or even better have it split by default? :) from within a WT terminal already in Quake mode, I can issue the command: `wt -w _quake split-pane` and that will open a new pane on the right side and put focus there. This is functionally equivalent of doing Alt-Shift-+ from a Quake mode terminal But there is no command or keystroke that I'm aware of where I can, from a non-Quake mode terminal, cause a split-pane to occur in the Quake-mode window As far as "by default", I do have a Desktop shortcut where I have the target set to: `%LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe -w _quake cmd.exe ; split-pane -d C:\ cmd.exe ; move-focus first` and that will launch Quake mode window with two Command Prompt terminal consoles, each in its own pane, and the cursor ready for input in the left-most pane
Author
Owner

@BleedingDev commented on GitHub (Apr 30, 2025):

Thanks, gonna try! 😊

@BleedingDev commented on GitHub (Apr 30, 2025): Thanks, gonna try! 😊
Author
Owner

@BleedingDev commented on GitHub (Apr 30, 2025):

Doesn't work for me, when I call this in opened quake, it creates borderless split window, but not as quake mode. :/

@BleedingDev commented on GitHub (Apr 30, 2025): Doesn't work for me, when I call this in opened quake, it creates borderless split window, but not as quake mode. :/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17892