File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Console Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -794,7 +794,7 @@ public function renderException($e, $output)
794
794
*
795
795
* @return int|null
796
796
*/
797
- protected function getTerminalWidth ()
797
+ public function getTerminalWidth ()
798
798
{
799
799
if (defined ('PHP_WINDOWS_VERSION_BUILD ' ) && $ ansicon = getenv ('ANSICON ' )) {
800
800
return preg_replace ('{^(\d+)x.*$} ' , '$1 ' , $ ansicon );
@@ -810,7 +810,7 @@ protected function getTerminalWidth()
810
810
*
811
811
* @return int|null
812
812
*/
813
- protected function getTerminalHeight ()
813
+ public function getTerminalHeight ()
814
814
{
815
815
if (defined ('PHP_WINDOWS_VERSION_BUILD ' ) && $ ansicon = getenv ('ANSICON ' )) {
816
816
return preg_replace ('{^\d+x\d+ \(\d+x(\d+)\)$} ' , '$1 ' , trim ($ ansicon ));
You can’t perform that action at this time.
0 commit comments