console_buffer

September 14, 2025 ยท View on GitHub

Shows how to use xtd::console::buffer_height and xtd::console::buffer_width methods.

Sources

  • src/console_buffer.cpp
  • CMakeLists.txt

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output (can be)

The current buffer height is 300 rows.
The current buffer width is 85 columns.

Contents

  1. 1Sources
  2. 2Build and run