microsoft / microsoft/terminal

Preview `1.22.2362.0` breaks Terminal.Gui apps

Open
#17,949 9 comments 0 reactions 1 assignee Claimed by @lhecker View on GitHub
Area-Server Issue-Bug Priority-3 Product-Conpty Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.22.2362.0

### Windows build number

10.0.26120.0

### Other Software

Terminal.Gui - any version

### Steps to reproduce

- Run `UICatalog` from the [Terminal.Gui](https://github.com/gui-cs/Terminal.Gui) solution.
- Start any Scenario
- Exit that Scenario

Each of these is like running a Termina.Gui app afresh.

The same thing can be reproduced by just running ` .\UICatalog\bin\Debug\net8.0\UICatalog.exe` and exiting repeatedly.

### Expected Behavior

![ElcfFL3 1](https://github.com/user-attachments/assets/32828f66-c407-4e19-bf12-ec83702a46ef)

### Actual Behavior

![eLngl1v 1](https://github.com/user-attachments/assets/3b4d7810-b7b5-4181-962c-f3af3a67d08b)

Note the bottom of the terminal is corrupt with prior content and the new instance of the app is not getting the correct terminal dimensions (too small).

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.