Restart command-line IO