nunomaduro / laravel-console-menu

🔘 Beautiful PHP CLI menus. Is a php-school/cli-menu wrapper for Laravel/Artisan Console Commands
MIT License
802 stars 40 forks source link

Default background and and white foreground, bad hightlight color #11

Closed mikeerickson closed 6 years ago

mikeerickson commented 6 years ago

When using defaultBackgroundColor (uses the color of terminal) and a white foreground, the highlight text color is white (should be either default or something other than white. I am looking for something like highlightColor

        $option = $this->menu('Select :', ['item 1,item 2'])
            ->setBackgroundColour('default')
            ->setForegroundColour('white')
            ->setExitButtonText('None')
            ->setWidth(60)
            ->open();

produces

image

nunomaduro commented 6 years ago

Hey @mikeerickson! You create an issue on the php-school repository. Since this package is just an wrapper I can't resolve your problem. Sorry.

mikeerickson commented 6 years ago

@nunomaduro ya, I realized that after I posted this (meant to come back and close this puppy). I have patched the issue in cli-menu