Fix readline input history