Fix because readline has troubles with long lines and unicode