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

§ buffer_height() [2/2]

template<class Char >
static bool xtd::basic_console< Char >::buffer_height ( int  height)
inlinestaticnoexcept

Gets or sets the height of the buffer area.

Parameters
heightThe current height, in rows, of the buffer area.
Returns
true if buffer heigh changed; otherwise false.
Example
This example demonstrates the buffer_height 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.