Use setAutoNewLine(false) to initiate TerminalKeyEncoder