repl: improve repl preview
Please check the commit messages for details.
Fixes: #33238 (closed)
@nodejs/repl
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines