Windows API GetConsoleScreenBufferInfo() does not return expected values #22748

Open
opened 2026-01-31 08:22:17 +00:00 by claunia · 0 comments
Owner

Originally created by @DKBS13 on GitHub (Jan 7, 2025).

Windows Terminal version

Windows Console Host

Windows build number

No response

Other Software

No response

Steps to reproduce

In windows 11 console host (not windows terminal), F11 go to full screen, Use CTRL+Mouse Wheel zoom in/out, there is an issue: Windows API GetConsoleScreenBufferInfo() returns realtime dwSize and srWindow values, not following windows font scaling operation. F11 again, the expected values have returned.

Expected Behavior

GetConsoleScreenBufferInfo() return realtime values

Actual Behavior

GetConsoleScreenBufferInfo() return old values until hit F11 key

Originally created by @DKBS13 on GitHub (Jan 7, 2025). ### Windows Terminal version Windows Console Host ### Windows build number _No response_ ### Other Software _No response_ ### Steps to reproduce In windows 11 console host (not windows terminal), F11 go to full screen, Use CTRL+Mouse Wheel zoom in/out, there is an issue: Windows API GetConsoleScreenBufferInfo() returns realtime dwSize and srWindow values, not following windows font scaling operation. F11 again, the expected values have returned. ### Expected Behavior GetConsoleScreenBufferInfo() return realtime values ### Actual Behavior GetConsoleScreenBufferInfo() return old values until hit F11 key
claunia added the Needs-TriageIssue-BugNeeds-Author-FeedbackNo-Recent-Activity labels 2026-01-31 08:22:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22748