name: Terminal class_comment: null dependencies: - name: AnsiColorMode type: class source: Symfony\Component\Console\Output\AnsiColorMode properties: [] methods: - name: getColorMode visibility: public parameters: [] comment: '# * 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/.' - name: setColorMode visibility: public parameters: - name: colorMode comment: '# * Force a terminal color mode rendering.' - name: getWidth visibility: public parameters: [] comment: '# * Gets the terminal width.' - name: getHeight visibility: public parameters: [] comment: '# * Gets the terminal height.' - name: hasSttyAvailable visibility: public parameters: [] comment: '# * @internal' - name: initDimensions visibility: private parameters: [] comment: null - name: initDimensionsUsingStty visibility: private parameters: [] comment: '# * Initializes dimensions using the output of an stty columns line.' - name: getConsoleMode visibility: private parameters: [] comment: '# * 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' - name: getSttyColumns visibility: private parameters: [] comment: '# * Runs and parses stty -a if it''s available, suppressing any error output.' - name: readFromProcess visibility: private parameters: - name: command comment: null traits: - Symfony\Component\Console\Output\AnsiColorMode interfaces: []