Terminal size structure defines a simple interface for defining a width and a height integer.
More...
#include <write.h>
Terminal size structure defines a simple interface for defining a width and a height integer.
◆ TerminalSize()
Write::TerminalSize::TerminalSize |
( |
const int & | width, |
|
|
const int & | height ) |
|
inline |
Constructor takes in width and height and initializes struct.
- Parameters
-
width | Int indicating the width of the terminal |
height | Int indicating the height of the terminal |
- Note
- Must use built in api to get the width of terminal before creating this struct
◆ height
int Write::TerminalSize::height |
◆ width
int Write::TerminalSize::width |
The documentation for this struct was generated from the following file: