Commit fce4b981 authored by JungMinu's avatar JungMinu
Browse files

repl,util: insert carriage returns in output

`\n` is not enough for Linux with some custom stream
add carriage returns to ensure that the output is displayed correctly
using `\r\n` should not be a problem, even on non-Windows platforms.

Fixes: https://github.com/nodejs/node/issues/7954
PR-URL: https://github.com/nodejs/node/pull/8028


Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent 6a3dbdac
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment