Opening terminal in focus mode and opening a second window then closing the first window with ctrl+shift+w freezes terminal #12756

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

Originally created by @Axedyson on GitHub (Feb 27, 2021).

Environment

Windows build number: Microsoft Windows [Version 10.0.19042.844]
Windows Terminal version: 1.5.10411.0

Steps to reproduce

  1. Open up a new fresh terminal instance
  2. Toggle focus mode (not full-screen mode) and keep it in this mode during all of the next steps
  3. Open up a new tab by using ctrl+shift+t (you now have a total of two tabs open)
  4. Switch to the previous tab (the one you started out with when you opened up the terminal)
  5. Close the tab by using the default keybinding to close a pane which is ctrl+shift+w (see this for reference https://docs.microsoft.com/en-us/windows/terminal/customize-settings/actions#close-pane)

Expected behavior

The previous tab (the first tab) closes and focus goes to the recently second opened tab.

Actual behavior

The whole terminal freezes and I have to either close the terminal by using alt+F4 or terminate the process in task manager.

Notes

This issue seems closely related to this one https://github.com/microsoft/terminal/issues/5799 but it still doesn't work for me.

Originally created by @Axedyson on GitHub (Feb 27, 2021). # Environment ```none Windows build number: Microsoft Windows [Version 10.0.19042.844] Windows Terminal version: 1.5.10411.0 ``` # Steps to reproduce 1. Open up a new fresh terminal instance 2. Toggle focus mode (not full-screen mode) and keep it in this mode during all of the next steps 3. Open up a new tab by using `ctrl+shift+t` (you now have a total of two tabs open) 4. Switch to the previous tab (the one you started out with when you opened up the terminal) 5. Close the tab by using the default keybinding to close a pane which is `ctrl+shift+w` (see this for reference https://docs.microsoft.com/en-us/windows/terminal/customize-settings/actions#close-pane) # Expected behavior The previous tab (the first tab) closes and focus goes to the recently second opened tab. # Actual behavior The whole terminal freezes and I have to either close the terminal by using `alt+F4` or terminate the process in task manager. # Notes This issue seems closely related to this one https://github.com/microsoft/terminal/issues/5799 but it still doesn't work for me.
claunia added the Needs-TriageNeeds-Tag-FixNeeds-AttentionProduct-Terminal labels 2026-01-31 03:24:07 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12756