[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 181 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Terminal:: (9 methods):
getWidth()
getHeight()
hasSttyAvailable()
initDimensions()
hasVt100Support()
initDimensionsUsingStty()
getConsoleMode()
getSttyColumns()
readFromProcess()
getWidth() X-Ref |
Gets the terminal width. return: int |
getHeight() X-Ref |
Gets the terminal height. return: int |
hasSttyAvailable() X-Ref |
return: bool |
initDimensions() X-Ref |
No description |
hasVt100Support() X-Ref |
Returns whether STDOUT has vt100 support (some Windows 10+ configurations). |
initDimensionsUsingStty() X-Ref |
Initializes dimensions using the output of an stty columns line. |
getConsoleMode() X-Ref |
Runs and parses mode CON if it's available, suppressing any error output. return: int[]|null An array composed of the width and the height or null if it could not be parsed |
getSttyColumns() X-Ref |
Runs and parses stty -a if it's available, suppressing any error output. return: string|null |
readFromProcess($command) X-Ref |
param: string $command return: string|null |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |