Question : tinker color auto
Answered by : tiago-frana
/*
On line ~37 of file 'vendor/psy/psysh/src/Configuration.php'
const COLOR_MODE_DISABLED = 'disabled';
turn it to 'auto'
*/
//Changed
const COLOR_MODE_DISABLED = 'auto';
//Or global config:
//Unix: ~/.config/psysh/config.php
//or
//C:\Users\{USER}\AppData\Roaming\PsySH\config.php (on Windows)
<?php return [ 'colorMode' => \Psy\Configuration::COLOR_MODE_FORCED ];
//See more about config
//https://github.com/bobthecow/psysh/wiki/Configuration
Source : https://stackoverflow.com/questions/56405816/how-to-fix-tinker-color-text/70371835#70371835 | Last Update : Thu, 23 Dec 21