I would suggest using curses, as @Oded said.
If you really don't want to use third-party libraries, you can use Console.BufferWidth to get the size of the console, and then Console.Console.CursorLeft to set the column position.
Console.CursorLeft = Console.BufferWidth - 4; Console.Write("[ok]");
The above print [ok] at the end of the current line, leaving the cursor in the first column, the next line
source share