backport aaaddd1fd: Terminal: stick a RESET on the end when writing a newline

This commit is contained in:
Dylan K. Taylor 2018-12-29 11:54:44 +00:00
parent 680cdb8e3e
commit a8433697ad

View File

@ -280,6 +280,6 @@ abstract class Terminal{
* @param string $line
*/
public static function writeLine(string $line) : void{
echo self::toANSI($line) . PHP_EOL;
echo self::toANSI($line) . self::$FORMAT_RESET . PHP_EOL;
}
}