mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 08:49:42 +00:00
Terminal: stick a RESET on the end when writing a newline
This commit is contained in:
parent
d86107e22a
commit
aaaddd1fd6
@ -273,6 +273,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