Home

Some of console properties are not working

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++;

Comments

Sign In or Register to comment.