Colorful.Console
Colorful.Console copied to clipboard
The handle is invalid.
Got this error when running Nuke.GlobalTool
that references this repo and was told to raise a bug here.
The handle is invalid.
at System.ConsolePal.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded)
at System.Console.set_CursorLeft(Int32 value)
at Colorful.Console.set_CursorLeft(Int32 value)
More info here
https://github.com/nuke-build/nuke/issues/423
Additional info: I notice this seems to happen when using https://conemu.github.io/
Using cmd.exe I do not see this exception.
Yes it happens if console is launched without window visibilty ... It occur at Console.Clear or Console.CursorLeft/CursorTop because there's no allocated buffer for writing to display