\app\framework\Component\ConsoleTerminal

Summary

Methods
Properties
Constants
getWidth()
getHeight()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
initDimensions()
getConsoleMode()
getSttyColumns()
$width
$height
$descriptorSpec
N/A

Properties

$width

$width : 

Type

$height

$height : 

Type

$descriptorSpec

$descriptorSpec : 

Type

Methods

getWidth()

getWidth() 

getHeight()

getHeight() 

initDimensions()

initDimensions() 

getConsoleMode()

getConsoleMode() : array<mixed,integer>|null

Runs and parses mode CON if it's available, suppressing any error output.

Returns

array<mixed,integer>|null —

An array composed of the width and the height or null if it could not be parsed

getSttyColumns()

getSttyColumns() : string|null

Runs and parses stty -a if it's available, suppressing any error output.

Returns

string|null