Better long line handling in web REPL (Himera version).