Closed Y-anon closed 9 years ago
That's really odd, I wonder if it's setting the background colour as well as the foreground color, I don't know my PHP but it looks like the offending code is here: https://github.com/bobthecow/psysh/blob/master/src/Psy/Output/ShellOutput.php#L198
Which uses symfony to set the colour: https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Console/Formatter/OutputFormatterStyle.php
Is there a default background colour it's assuming is there?
It might set the background color (of the text), when I do a clear
I have those highlights the whole screen becomes lighter but the padding of cmder's window doesn't change...
But then again through the OutputFormatterStyle class it's not passing a background, only a foreground...
in ShellOutput.php#L198 it calls OutputFormatterStyle's constructor with only a foreground as argument, which then calls setForeground L86 ... and it doesn't touch the bg . at least as far as i can see.
Since the highlight triggers AFTER the 'blue' as been called when he calls an object, i think somethign else is causing it...
I think the problem comes from git bash perhaps. i'll try later tmrw to uninstall it and see what happens.
Also i'm following a tutorial on Laravel, and they're using cmder (on mac) and not having that issue.
So the problem is on my end, i'll check later
I'm experiencing this issue as well. A fix for it would be awesome!
I'm also facing this problem .
I have solved the issue . Change Schemes to ubuntu and it will work fine ...
@donkeycoder this didn't fix it for me :/
Make sure you are using latest version of Cmder ( Laragon 6.0).
I got the problem . Make sure your colour at 0 position and 8 position are same . 8th position is the selected colour if it is similar to background it won't show the selection , and make sure background is set to #2 .
Tell me if it solved that
This fixed it ! Thank you :)
Hello,
I have a similary problem with Symfony3. See below :
Thanks
(laravel) php artisan tinker & cmder
Hi, I have a weird problem, whenever I use php artisan tinker, when I display an object within it I get the following :
Description :
Basically whenever tinker prints out an object, it dislays its class between < and > and somehow it then highlights everything in white.
My 'quick noob fix' once i'm done with tinker is to restart tinker ( starting it clears the white highlight)
and then i clear it...
It's a bit annoying. I'm not getting it with git bash or the good ol' cmd... And I do get it aswell with cmder as {cmd} or {PowerShell} So far it's the only problem i've found with cmder, it's a life changer, it kicks asses !
SYS INFO
Paths: C:\Users\Yin\AppData\Roaming\Composer\vendor\bin;C:\Ruby22-x64\bin;C:\Users\Yin\AppData\Local\atom\bin;C:\Users\Yin\AppData\Roaming\npm
system : win8 64bit