xtd.console - Reference Guide  0.0.1
Modern c++17 library to manage terminal on Windows, macOS and Linux.

§ buffer_width() [2/2]

template<class Char >
static bool xtd::basic_console< Char >::buffer_width ( int  width)
inlinestaticnoexcept

Sets the width of the buffer area.

Parameters
widthThe current width, in columns, of the buffer area.
Example
This example demonstrates the BufferHeight and buffer_width properties. The example reports the dimensions of an operating system window set to a buffer size of 300 rows and 85 columns.