Refresh console without printing every time

Hi, I'm writing a little game. The "playground" is a matrix and player has to move trough it so I'm questioning if exist a way to refresh the console to visualize the player's moves on the matrix without printing it every time.
Thanks
Does there exist a way to refresh the console to visualize the player's moves on the matrix without printing it every time.


Yes - use a TUI library such as ncurses.
http://www.tldp.org/HOWTO/NCURSES-Programming-HOWTO/
@mbozzi Thanks a lot for your answer.
Topic archived. No new replies allowed.