Some of console properties are not working
Options
Any of the line below throws System.IO.IOException The handle is invalid. Is there a way to make them work?
Console.CursorVisible = false;
int width = Console.WindowWidth - 1;
Console.CursorLeft = 0;
Console.CursorTop++;
Console.CursorVisible = false;
int width = Console.WindowWidth - 1;
Console.CursorLeft = 0;
Console.CursorTop++;
Comments
-
There's no true console in LINQPad, so these kind of manipulations won't work. The output window is a web browser instead, which enables rich output formatting.
-
Thank you