Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

tinker not colorful

/*
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 #colorful
ADD COMMENT
Topic
Name
2+3 =