Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

All Windows console applications screen buffer size

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,

like image 689
noober Avatar asked Sep 12 '11 17:09

noober


People also ask

What is buffer size in console?

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.

What is console screen buffer?

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.

What is screen buffer size in Command Prompt?

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.

How do I change the buffer size in Windows 10?

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.


2 Answers

 HKEY_CURRENT_USER\Console\

There is a bunch of keys in there you can adjust.

like image 180
apollosoftware.org Avatar answered Oct 05 '22 23:10

apollosoftware.org


See http://commandwindows.com/configure.htm or How to change Screen buffer size in Windows Command Prompt from batch script

like image 39
nmc Avatar answered Oct 05 '22 23:10

nmc