4

I'm using Visual Studio Code to coding but recently i have strange problem how can i fix that?

When i enter php artisan tinker the tinker text isn't as always i remember the color was blue but now its white. also after use php artisan migrate and etc commands the result texts is white

I Uninstall Vscode completely with all appdata and extensions and anything related to that but nothing changed after install latest version the tinker color is still white

Entrance Text : Psy Shell v 0.9.9 by Justin this color is white now ! how can i fix that? enter image description here

3 Answers3

1

have a look at eg https://github.com/bobthecow/psysh/wiki/Sample-config:

according this file you can create a file ~/.config/psysh/config.php and enter the color mode you like:

<?php
    return [ 'colorMode' => Psy\Configuration::COLOR_MODE_AUTO ] ;
leo
  • 11
  • 1
-1

The recommended approach is to use a Unix terminal emulator, like Cygwin, Cmder or Babun. https://github.com/bobthecow/psysh/wiki/Windows

You could try to update the configuration of Psy by using:

"Psy\Configuration::COLOR_MODE_FORCED" or disable with "Psy\Configuration::COLOR_MODE_DISABLED".

bmateus
  • 47
  • 3
-2
# 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';
DEV Tiago França
  • 1,271
  • 9
  • 9