Ncurses

From wikinotes

Ncurses is a library for creating GUIs within a terminal. Or TUIs rather. It is extended from AT&T's curses library that was written in the mid 70s.

NOTE:

I have covered the curses library more extensively in python curses .

Documentation

Tutorials

TLDP: Ncurses howto http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/
ncurses tutorial https://invisible-island.net/ncurses/ncurses-intro.html

First Program

//// /home/will/dev/ncurses.cpp
#include <ncurses.h>

int main() {
	initscr();
	printw("Hello World");
	refresh();
	getch();
	endwin();
}
////
gcc -lncurses ncurses.cpp				## Compile
./a.out										## run the curses program