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

Powershell + PSReadLine makes progress get stuck #1669

Closed
Maximus5 opened this issue Jul 31, 2015 · 4 comments
Closed

Powershell + PSReadLine makes progress get stuck #1669

Maximus5 opened this issue Jul 31, 2015 · 4 comments

Comments

@Maximus5
Copy link
Owner

Originally reported on Google Code with ID 1670

Windows 8.1 x64
ConEmu version 140811 [64]

*Bug description*
If I use the PSReadLine (https://github.com/lzybkr/PSReadLine) module in my Powershell
window, progress gets stuck and never completes.

*Steps to reproduction*
1. Run Powershell
2. Import-Module PSReadLine
3. help iowefawopjawoe

The 'help' command causes progress to start up. This shows progress fine, but then
gets stuck at 100%. There's no way to make it go away, even with write-progress x -completed.

PSReadLine does some hooking of the host progress in order to do its magic. If this
bug is a problem with PSReadLine and not ConEmu, let me know.

Reported by scottbilas on 2014-08-12 09:07:56

@Maximus5
Copy link
Owner Author

Have you "Inject ConEmuHk" checked?

ATM I can say progress must be dropped on returning to the prompt.
Hm, as workaround you may use GuiMacro to reset progress in the powershell prompt function.

Reported by ConEmu.Maximus5 on 2014-08-12 09:14:28

@Maximus5
Copy link
Owner Author

Yes, I've got ComEmuHk checked. Is it possible that however you are detecting progress
changing is being hooked by PSReadLine so it doesn't get to ConEmu?

I've tested using the GuiMacro workaround and it's not too bad I guess.

Reported by scottbilas on 2014-08-12 10:02:22

@Maximus5
Copy link
Owner Author

Reported by ConEmu.Maximus5 on 2014-10-06 07:39:54

  • Status changed: Fixed

@Maximus5
Copy link
Owner Author

Confirmed fixed, thank you!

Reported by scottbilas on 2014-10-16 06:36:03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant