Tab exits with code 1 when Console.SetBufferSize has been modified and you maximize window #7581
Labels
Area-Output
Related to output processing (inserting text into buffer, retrieving buffer text, etc.)
Area-Server
Down in the muck of API call servicing, interprocess communication, eventing, etc.
Help Wanted
We encourage anyone to jump in on these.
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Priority-2
A description (P2)
Product-Conpty
For console issues specifically related to conpty
Severity-Crash
Crashes are real bad news.
Milestone
Possibly related to #1461. I understand the text rendering errors, but the process exiting is different.
When I set the console buffer size to maximum height and run my code from Windows Terminal (in non-maximized, 'windowed' mode), everything appears to work correctly. Windows Terminal honors the buffer-size that I've set, and I can scroll back in history appropriately.
If I maximize that window after running the program, the tab process exits with code 1.
A small C# program that reproduces this issue:
Windows Version 2004, OS Build 19041.450
Windows Terminal Version 1.2.2381.0
The text was updated successfully, but these errors were encountered: