ConsoleGuiTools icon indicating copy to clipboard operation
ConsoleGuiTools copied to clipboard

OCGV: Color changes and terminal becomes unreadable

Open saldroubi opened this issue 3 years ago • 3 comments
trafficstars

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

saldroubi avatar May 06 '22 17:05 saldroubi

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.

tig avatar May 27 '22 03:05 tig

@andschwa would you please edit this issue to previx the title with "OCGV: "? Thanks

tig avatar Aug 03 '22 21:08 tig

This is no longer repo (or was fixed in #166).

tig avatar Aug 24 '22 12:08 tig