-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Labels
Area-PerformancePerformance-related issuePerformance-related issueIn-PRThis issue has a related PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsPriority-2A description (P2)A description (P2)Product-ConptyFor console issues specifically related to conptyFor console issues specifically related to conpty
Milestone
Description
Windows Terminal version
1.11.3471.0
Windows build number
10.0.19043.1466
Other Software
No response
Steps to reproduce
// poc.c
#include <stdio.h>
#include <windows.h>
int main(void) {
CONSOLE_SCREEN_BUFFER_INFO csbi;
GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &csbi);
int width = csbi.srWindow.Right - csbi.srWindow.Left + 1;
int height = csbi.srWindow.Bottom - csbi.srWindow.Top + 1;
char f[height][width];
memset(f, ' ', height * width);
f[height / 2][width / 2] = '*';
while(1) {
puts(*f);
}
}>gcc poc.c -o main
>mainExpected Behavior
One "*" character is supposed to appear in the middle of the terminal
Actual Behavior
The terminal is buffering just like I previously mentioned here
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-PerformancePerformance-related issuePerformance-related issueIn-PRThis issue has a related PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsPriority-2A description (P2)A description (P2)Product-ConptyFor console issues specifically related to conptyFor console issues specifically related to conpty