Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

tinker color auto

/*
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}AppDataRoamingPsySHconfig.php (on Windows)
<?php
    return [ 'colorMode' => PsyConfiguration::COLOR_MODE_FORCED ];

//See more about config
//https://github.com/bobthecow/psysh/wiki/Configuration
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #tinker #color #auto
ADD COMMENT
Topic
Name
5+9 =