C++ Utilities 5.26.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
The TerminalSize struct describes a terminal size. More...
#include <commandlineutils.h>
Public Member Functions | |
TerminalSize (unsigned short rows=0, unsigned short columns=0, unsigned short width=0, unsigned short height=0) | |
Public Attributes | |
unsigned short | rows |
number of rows | |
unsigned short | columns |
number of columns | |
unsigned short | width |
width in pixel | |
unsigned short | height |
height in pixel | |
The TerminalSize struct describes a terminal size.
sys/ioctl.h
. Definition at line 45 of file commandlineutils.h.
|
inline |
Definition at line 58 of file commandlineutils.h.
unsigned short CppUtilities::TerminalSize::columns |
number of columns
Definition at line 51 of file commandlineutils.h.
unsigned short CppUtilities::TerminalSize::height |
height in pixel
Definition at line 55 of file commandlineutils.h.
unsigned short CppUtilities::TerminalSize::rows |
number of rows
Definition at line 49 of file commandlineutils.h.
unsigned short CppUtilities::TerminalSize::width |
width in pixel
Definition at line 53 of file commandlineutils.h.