Clear multiple lines

Viewed 1708

Is it possible to clear multiple lines in C and keep others for example.

Code:

Displaysenrsordata
  loop 
    printf("This info stays"); <-stay on screen
    printf("This info stays"); <-stay on screen
    printf("This info Refreshes"); <-update redraw
    printf("This info Refreshes"); <-update redraw
    printf("This info Refreshes"); <-update redraw

Essentially I want to have some text to stay at the same place and redraw the updating data without clearing the whole screen.

3 Answers
Related