Code cleanup, no functional changes
This commit is contained in:
@@ -129,7 +129,7 @@ class ANSI
|
||||
|
||||
foreach ($ansi as $line) {
|
||||
foreach ($line as $char) {
|
||||
if ($char == 0x1b) {
|
||||
if ($char === 0x1b) {
|
||||
$escape = TRUE;
|
||||
continue;
|
||||
}
|
||||
@@ -214,7 +214,7 @@ class ANSI
|
||||
$current['b'] = (int)$buffer;
|
||||
}
|
||||
|
||||
if ($c == 'm') {
|
||||
if ($c === 'm') {
|
||||
$ansi = FALSE;
|
||||
$escape = FALSE;
|
||||
$line .= chr(0x1b).chr(self::code($current));
|
||||
|
Reference in New Issue
Block a user