Skip to content

Add progress when executing query #108

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SteveL-MSFT
Copy link
Member

@SteveL-MSFT SteveL-MSFT commented May 26, 2022

After hitting ctrl+g, it can take some time for a response so it's not clear if anything is happening. Suggestion is to show a progress bar to indicate something is happening but may take a few seconds.

Here's how it looks in PS7:
Screen Recording 2022-05-26 at 2 53 22 PM

@dluc
Copy link
Collaborator

dluc commented May 30, 2022

Is it possible to improve how it looks in PS5, e.g. positioning the banner close to the prompt? here's a test with PS 5.1:

psprogress

The banner is always at the top of the screen:

psprogress2

@SteveL-MSFT
Copy link
Member Author

@dluc unfortunately, WinPS made a design decision to always have progress on top and isn't something that can be changed w/o changing powershell.exe

@SteveL-MSFT
Copy link
Member Author

I ported this to not rely on python for PowerShell, so you can try that https://www.powershellgallery.com/packages/Codex/0.1.0-Beta (although progress is the same...)

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.

2 participants