[PR #10108] This fixes summoning _quake as the MRU window #27900

Open
opened 2026-01-31 09:24:59 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/10108

State: closed
Merged: Yes


Summary of the Pull Request

This fixes a bug where if you had the _quake window open, and you tried to globalSummon it (not with the quakeMode action, but just with a plain-old globalSummon to activate the MRU window), we'd create a new window instead of just summoning the _quake window.

References

PR Checklist

Detailed Description of the Pull Request / Additional comments

It's basically a one-line fix, I just had to update the function signature for _getMostRecentPeasantID to allow us to use it differently for glomming vs summoning. When glomming, ignoreQuakeWindow should be true. When summoning, ignoreQuakeWindow should be false.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/10108 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request This fixes a bug where if you had the `_quake` window open, and you tried to `globalSummon` it (not with the `quakeMode` action, but just with a plain-old `globalSummon` to activate the MRU window), we'd _create a new window_ instead of just summoning the `_quake` window. ## References * regressed in #9956 ## PR Checklist * [x] Closes https://github.com/microsoft/terminal/projects/5#card-60325142 * [x] I work here * [x] Tests added/passed * [n/a] Requires documentation to be updated ## Detailed Description of the Pull Request / Additional comments It's basically a one-line fix, I just had to update the function signature for `_getMostRecentPeasantID` to allow us to use it differently for glomming vs summoning. When glomming, `ignoreQuakeWindow` should be true. When summoning, `ignoreQuakeWindow` should be false.
claunia added the pull-request label 2026-01-31 09:24:59 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27900