[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/console/ -> Terminal.php (summary)

(no description)

File Size: 172 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Terminal:: (9 methods):
  getWidth()
  getHeight()
  hasSttyAvailable()
  initDimensions()
  hasVt100Support()
  initDimensionsUsingStty()
  getConsoleMode()
  getSttyColumns()
  readFromProcess()


Class: Terminal  - X-Ref

getWidth()   X-Ref
Gets the terminal width.

return: int

getHeight()   X-Ref
Gets the terminal height.

return: int

hasSttyAvailable()   X-Ref


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.


readFromProcess(string $command)   X-Ref
No description



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer