OCGV: Color changes and terminal becomes unreadable
saldroubi opened this issue · 3 comments
saldroubi commented
I have this code basically in a loop so user can select an option, it gets performed and then menu appears again so he can pick another menu option to perform.
$result = $menu | Out-ConsoleGridView -OutputMode Single -Title "Make a selection "
However, the color changes of background and foreground which makes the menu almost impossible to read. Can this be fixed or is there a way to set the colors before calling Out-ConsoleGridView every time?
Thank you
tig commented
I've tried to repro this and can't quite figure out what you mean.
Could you perhaps post more code with a full example?
What terminal / OS are you using?
Thanks.