Make the REPL work in dumb terminals.