utils/terminal.h file

Terminal utilities.