Timer Console
Loading...
Searching...
No Matches
Write::TerminalSize Struct Reference

Terminal size structure defines a simple interface for defining a width and a height integer. More...

#include <write.h>

Public Member Functions

 TerminalSize (const int &width, const int &height)
 Constructor takes in width and height and initializes struct.
 

Public Attributes

int height
 
int width
 

Detailed Description

Terminal size structure defines a simple interface for defining a width and a height integer.

Constructor & Destructor Documentation

◆ TerminalSize()

Write::TerminalSize::TerminalSize ( const int & width,
const int & height )
inline

Constructor takes in width and height and initializes struct.

Parameters
widthInt indicating the width of the terminal
heightInt indicating the height of the terminal
Note
Must use built in api to get the width of terminal before creating this struct

Member Data Documentation

◆ height

int Write::TerminalSize::height

◆ width

int Write::TerminalSize::width

The documentation for this struct was generated from the following file: