Skip to content

repl,util: insert carriage returns in output

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

repl, util

Description of change

\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

Merge request reports

Loading