microsoft / microsoft/terminal

Terminal closes when pwsh crashes with PSReadLine module imported after window session resume

Open
#14,511 33 comments 0 reactions 1 assignee Claimed by @DHowett View on GitHub
Area-Server Issue-Bug Needs-Repro Priority-3 Product-Conhost
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.16.2642.0

### Windows build number

10.0.22621.0

### Other Software

pwsh 7.3.0
PSReadLine 2.26

### Steps to reproduce

Open terminal
Open a tab with pwsh and a tab with cmd
Close lid (Surface Book 3) or get OS to sleep
Wake up and log in to session

### Expected Behavior

WT is there and all tabs are open

### Actual Behavior

WT is closed. I will add more details in the comment below.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.