-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Open
Labels
Area-OutputRelated to output processing (inserting text into buffer, retrieving buffer text, etc.)Related to output processing (inserting text into buffer, retrieving buffer text, etc.)Area-ServerDown in the muck of API call servicing, interprocess communication, eventing, etc.Down in the muck of API call servicing, interprocess communication, eventing, etc.Help WantedWe encourage anyone to jump in on these.We encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Priority-2A description (P2)A description (P2)Product-ConptyFor console issues specifically related to conptyFor console issues specifically related to conptySeverity-CrashCrashes are real bad news.Crashes are real bad news.
Milestone
Description
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:
static void Main(string[] args)
{
Console.SetBufferSize(Console.BufferWidth, 32766);
Console.WriteLine("Buffer size changed.");
// 100 lines is roughly the minimum it takes to crash the tab. Small behavior changes
// depending on my initial window size.
for (int i = 0; i < 100; i++)
{
Console.WriteLine("Line");
}
}
Windows Version 2004, OS Build 19041.450
Windows Terminal Version 1.2.2381.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-OutputRelated to output processing (inserting text into buffer, retrieving buffer text, etc.)Related to output processing (inserting text into buffer, retrieving buffer text, etc.)Area-ServerDown in the muck of API call servicing, interprocess communication, eventing, etc.Down in the muck of API call servicing, interprocess communication, eventing, etc.Help WantedWe encourage anyone to jump in on these.We encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Priority-2A description (P2)A description (P2)Product-ConptyFor console issues specifically related to conptyFor console issues specifically related to conptySeverity-CrashCrashes are real bad news.Crashes are real bad news.
