[PR #19299] Fix window count going out of sync when headless #31788

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

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

State: open
Merged: No


In headless mode, WM_CLOSE_TERMINAL_WINDOW would still decrement
_windowCount. While the count technically doesn't matter,
it going out of sync with the actual count felt wrong.

Validation Steps Performed

  • TBD
**Original Pull Request:** https://github.com/microsoft/terminal/pull/19299 **State:** open **Merged:** No --- In headless mode, `WM_CLOSE_TERMINAL_WINDOW` would still decrement `_windowCount`. While the count technically doesn't matter, it going out of sync with the actual count felt wrong. ## Validation Steps Performed * TBD
claunia added the pull-request label 2026-01-31 09:49:35 +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#31788