I want to write a program that can "draw" in the terminal the same way as htop or emacs. By that I mean "get rid of the prompt and make the output dependent on the current size of the terminal".
To make this a bit more clear:
I want to use the terminal this way:
in stead of this way: