Update TextUI.cpp

Gets I/O working on GAUL.