add isExit, isQuit in InputConsole