Method |
Description |
|
getDimensions ( ) : array |
Gets the terminal dimensions based on the current environment. |
|
getModeCon ( ) : null | string |
Runs and parses Microsoft DOS MODE CON command if it's available. |
|
getNumberOfColumns ( ) : integer |
|
|
getNumberOfRows ( ) : integer |
|
|
getSttySize ( ) : null | string |
Runs and parses stty size command if it's available. |
|
hasColorSupport ( ) : boolean |
|
|
isAnsicon ( ) : boolean |
When currently running under MS Windows checks if ANSI x3.64 is supported and enabled. |
|
isConsole ( ) : boolean |
|
|
isInteractive ( integer | resource $fd = EnvironmentInterface::STDOUT ) : boolean |
|
|
isWindows ( ) : boolean |
|
|
setDimensions ( integer $width, integer $height ) |
Sets terminal dimensions. |
|