Added a terminal input class