Line wrapping for REPL