ConsoleGuiTools
ConsoleGuiTools copied to clipboard
Fixes #116 - Adds a `MinUI` switch to OCGV for a minimal look & feel
Fixes #116
This PR adds a -MinUi feature that hides all UI except for the list of items.
Once you use ocgv a lot you find the status bar and filter edit box are redundant and in the way.
Get-PSProfile | Out-ConsoleGridView -OutputMode Single -Title 'PS Profiles' -Filter ISE"

Get-PSProfile | Out-ConsoleGridView -OutputMode Single -Title 'PS Profiles' -Filter ISE -MinUi"

I imagine someone might argue that the Filter edit box should be included with -MinUI. I've left it out because a) the -Filter parameter makes it easy to specify up front and b) a future enhancement could be a keyboard shortcut that toggled it on and off (e.g. F3) (this would be independent of -MinUI)...or another parameter (e.g. -ShowFilter) could do that.
This PR is dependent on #115
@andschwa this PR is still relevant. I'd love to see it incorporated. I've fixed the merge issue and a visual artifact that appeared with the latest Terminal.Gui.
@andschwa This PR is ready for review.
Closing because this was already merged with https://github.com/PowerShell/GraphicalTools/pull/166,