Editor PHP 2.4.0

Terminal
in package

Table of Contents

Constants

DEFAULT_COLOR_MODE  = \Symfony\Component\Console\Output\AnsiColorMode::Ansi4

Methods

getColorMode()  : AnsiColorMode
About Ansi color types: https://en.wikipedia.org/wiki/ANSI_escape_code#Colors For more information about true color support with terminals https://github.com/termstandard/colors/.
getHeight()  : int
Gets the terminal height.
getWidth()  : int
Gets the terminal width.
setColorMode()  : void
Force a terminal color mode rendering.

Constants

DEFAULT_COLOR_MODE

public mixed DEFAULT_COLOR_MODE = \Symfony\Component\Console\Output\AnsiColorMode::Ansi4

Methods

getColorMode()

About Ansi color types: https://en.wikipedia.org/wiki/ANSI_escape_code#Colors For more information about true color support with terminals https://github.com/termstandard/colors/.

public static getColorMode() : AnsiColorMode
Return values
AnsiColorMode

getHeight()

Gets the terminal height.

public getHeight() : int
Return values
int

getWidth()

Gets the terminal width.

public getWidth() : int
Return values
int

        
On this page

Search results