mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
backport aaaddd1fd: Terminal: stick a RESET on the end when writing a newline
This commit is contained in:
parent
680cdb8e3e
commit
a8433697ad
@ -280,6 +280,6 @@ abstract class Terminal{
|
|||||||
* @param string $line
|
* @param string $line
|
||||||
*/
|
*/
|
||||||
public static function writeLine(string $line) : void{
|
public static function writeLine(string $line) : void{
|
||||||
echo self::toANSI($line) . PHP_EOL;
|
echo self::toANSI($line) . self::$FORMAT_RESET . PHP_EOL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user