M
M
mikeemaine2017-05-27 16:24:15
cmd/bat
mikeemaine, 2017-05-27 16:24:15

How to update only part of the lines in the console window?

Console window, at the bottom of the screen is a user input line, at the top - useful information coming from outside. How can you update the lines of useful information without redrawing the entire console window (which will inevitably lead to the reset of what the user entered into the line, but did not have time to send) . Perhaps it is possible to save everything that the user enters into a temporary buffer and add it during the update of the entire window, but is there really no easier way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-06-01
@senal

In order not to "lose" user input, take this , if you need to move the cursor to a specific line, then google Console.CursorTop and Console.CursorLeft.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question