Is there a way to change default screen buffer size (count of scrollable lines before they become unavailable) for all console applications in Windows? Registry key or something. I don't want to set it for every console app I develop.
Regards,
The size of a screen buffer is expressed in terms of a coordinate grid based on character cells. The width is the number of character cells in each row, and the height is the number of rows.
A screen buffer is a two-dimensional array of character and color data for output in a console window. A console can have multiple screen buffers. The active screen buffer is the one that is displayed on the screen. The system creates a screen buffer whenever it creates a new console.
The screen buffer size of Command Prompt is expressed in terms of a coordinate grid based on character cells: The width is the number of characters that are displayed on a line in the Command Prompt window. The larger the width size, the more characters will show in the same row before wrapping.
Steps to change screen buffer size of CMD in Windows 10:In the Command Prompt window, right-click the Title bar and choose Properties. Step 3: Change screen buffer size. Open Layout, change the values of Width and Height under Screen Buffer Size and then tap OK.
HKEY_CURRENT_USER\Console\
There is a bunch of keys in there you can adjust.
See http://commandwindows.com/configure.htm or How to change Screen buffer size in Windows Command Prompt from batch script
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With