node/lib/internal/repl
Ruben Bridgewater af5ddf2123
repl: fix preview cursor position
The cusor position was off in case the preview was exactly as long
as the current terminal was wide.

PR-URL: https://github.com/nodejs/node/pull/31293
Fixes: https://github.com/nodejs/node/issues/31291
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2020-01-12 20:43:12 +01:00
..
await.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
history.js lib: enforce use of Boolean from primordials 2019-11-30 13:37:23 +01:00
utils.js repl: fix preview cursor position 2020-01-12 20:43:12 +01:00