Terminal keeps disappearing after wake from sleep #16798

Open
opened 2026-01-31 05:23:04 +00:00 by claunia · 0 comments
Owner

Originally created by @Eryx5502 on GitHub (Feb 17, 2022).

Windows Terminal version

1.11.3471.0

Windows build number

10.0.22000.493

Other Software

No response

Steps to reproduce

Open a Windows Terminal, unplug the power suply, close the lid of the laptop so that it sleeps. Then, when reopening the and singing in, the Windows Terminal has disappeared.

Expected Behavior

The terminal should be there when waking up

Actual Behavior

First, I'm aware of some issues which look the same (e.g. #11611, #7183) but they are closed, and also some similar ones which are related with Microsoft Store updates. This shouldn't be the case since I have automatic updates set to off and also the app wasn't updated for some time while the clossing has happened more than 3times today.

The behaviour is the following: everytime my laptop goes back from sleep mode, any open terminal has disappeared. I usually work with WSL2 on the Windows Terminal, most of the time using tmux. When it closes, sometimes I can still find and re-attach my old tmux session when I open a new WSL terminal, some other times the session is closed. It also happens with Powershell instead of wsl and, I guess, any other terminal.

I noticed this happens only when the laptop is not plugged to power, so it might be something related with power settings, but I couldn't find any related option.

Originally created by @Eryx5502 on GitHub (Feb 17, 2022). ### Windows Terminal version 1.11.3471.0 ### Windows build number 10.0.22000.493 ### Other Software _No response_ ### Steps to reproduce Open a Windows Terminal, unplug the power suply, close the lid of the laptop so that it sleeps. Then, when reopening the and singing in, the Windows Terminal has disappeared. ### Expected Behavior The terminal should be there when waking up ### Actual Behavior First, I'm aware of some issues which look the same (e.g. #11611, #7183) but they are closed, and also some similar ones which are related with Microsoft Store updates. This shouldn't be the case since I have automatic updates set to off and also the app wasn't updated for some time while the clossing has happened more than 3times today. The behaviour is the following: everytime my laptop goes back from sleep mode, any open terminal has disappeared. I usually work with WSL2 on the Windows Terminal, most of the time using tmux. When it closes, sometimes I can still find and re-attach my old tmux session when I open a new WSL terminal, some other times the session is closed. It also happens with Powershell instead of wsl and, I guess, any other terminal. I noticed this happens only when the laptop is not plugged to power, so it might be something related with power settings, but I couldn't find any related option.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16798