Enable history with readline input mode.