Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #116 - Adds a MinUI switch to OCGV for a minimal look & feel #117

Closed
wants to merge 66 commits into from

Conversation

tig
Copy link
Collaborator

@tig tig commented Oct 1, 2020

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"

image

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

image

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.

tig and others added 30 commits March 11, 2020 15:55
@tig
Copy link
Collaborator Author

tig commented Aug 3, 2022

@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.

@tig tig changed the title MinUi Fixes #116 - Adds a MinUI switch to OCGV for a minimal look & feel Aug 3, 2022
@tig
Copy link
Collaborator Author

tig commented Aug 3, 2022

@andschwa This PR is ready for review.

@tig
Copy link
Collaborator Author

tig commented Aug 24, 2022

Closing because this was already merged with #166,

@tig tig closed this Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OCGV: Add ability to minimize UI
1 participant