SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the curses.h library in linux as mentioned in the other answer.
curses.h
You can install it in Ubuntu by:
sudo apt-get update sudo apt-get install ncurses-dev
sudo apt-get update
sudo apt-get install ncurses-dev
I took the installation part from here.