This class provides system dependent features in respect the console attached to a process.
Definition at line 23 of file console.hpp.
#include <console.hpp>
Public Static Method Index: | |
static ALIB_API int | GetWidth (bool forceRedetect=false) |
Protected Static Field Index: | |
static ALIB_API int | lastReceivedWidth = -1 |
Console text width. | |
|
staticprotected |
Console text width.
Definition at line 28 of file console.hpp.
|
static |
Tries to detect the current width of the console. Returns 0
in case of failure.
forceRedetect | If true , the console size is tried to be detected, even if it had been done before (and even if it failed before).Defaults to false . |
Definition at line 32 of file console.cpp.