OCGV: Move "Set cursor key to application mode" fix to gui.cs
See original GitHub issueI think this may be a bug that impacts all gui.cs
apps and should be fixed there. However, I don’t fully understand what the user impact of the bug described in these comments was and how setting the cursor key to application mode fixed it. Can you provide more detail?
As an aside, IIRC, Dispose
for a Cmdlet is not actually guaranteed to get called until the CmdLet’s module is unloaded. And that does NOT happen immediately after the Cmdlet is run. This Dispose
gets called in OutConsoleGridviewCmdletCommand
’s Dispose
. In building out-winprint
I discovered that I could not count on Dispose
for timely cleanup and instead had to do stuff at the end of EndProcessing
. This is another reason I think this logic should be moved to gui.cs
(unless I’m wrong about the fact the underlying bug impacts all gui.cs
apps).
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (9 by maintainers)
Yeah I can’t repro anymore. That’s interesting.
Thanks. I actually use that (and WSL) here and there. The real problem is my dev skillz are barely adequate on Windows, and just getting started being able to enlist and build
GraphicalTools
on Linux is a bit much for me right now. I’m capable, it’s just time.