xtd
0.2.0
console_buffer.cpp
Shows how to use
xtd::console::buffer_height
and
xtd::console::buffer_width
methods.
#include <xtd/console>
using namespace
xtd
;
auto
main()->int {
console::write_line
(
"The current buffer height is {} rows."
,
console::buffer_height
());
console::write_line
(
"The current buffer width is {} columns."
,
console::buffer_width
());
}
// This code produces the following output:
//
// The current buffer height is 300 rows.
// The current buffer width is 85 columns.
Generated on Mon Oct 9 2023 14:41:55 for xtd by
Gammasoft
. All rights reserved.