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

§ buffer_height() [1/2]

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

Gets the height of the buffer area.

Returns
The current height, in rows, of the buffer area.
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.