Definition at line 10 of file Screen.php.
◆ getConsoleMode()
| static getConsoleMode |
( |
| ) |
|
|
staticprivate |
Runs and parses mode CON if it's available, suppressing any error output.
- Returns
- int[]|null An array composed of the width and the height or null if it could not be parsed
Definition at line 125 of file Screen.php.
◆ getHeight()
Gets the terminal height.
- Returns
- int
Definition at line 41 of file Screen.php.
◆ getSttyColumns()
| static getSttyColumns |
( |
| ) |
|
|
staticprivate |
Runs and parses stty -a if it's available, suppressing any error output.
Definition at line 141 of file Screen.php.
◆ getWidth()
Gets the terminal width.
- Returns
- int
Definition at line 23 of file Screen.php.
◆ hasSttyAvailable()
| static hasSttyAvailable |
( |
| ) |
|
|
static |
◆ hasVt100Support()
| static hasVt100Support |
( |
| ) |
|
|
staticprivate |
Returns whether STDOUT has vt100 support (some Windows 10+ configurations).
Definition at line 99 of file Screen.php.
◆ initDimensions()
| static initDimensions |
( |
| ) |
|
|
staticprivate |
◆ initDimensionsUsingStty()
| static initDimensionsUsingStty |
( |
| ) |
|
|
staticprivate |
Initializes dimensions using the output of an stty columns line.
Definition at line 106 of file Screen.php.
◆ readFromProcess()
| static readFromProcess |
( |
string |
$command | ) |
|
|
staticprivate |
◆ $height
◆ $stty
◆ $width
The documentation for this class was generated from the following file:
- C:/Users/myadd/Documents/GitHub/ubiquity-doc-api/vendor/phpmv/ubiquity-commands/src/Ubiquity/devtools/cmd/Screen.php