node/lib/internal/readline
Ruben Bridgewater 409cb773a4
repl: fix cpu overhead pasting big strings to the REPL
Pasting input should not trigger any completions and other
calculations. This is now handled by just writing the string to the
terminal in case the user is pasting. As soon as pasting is done,
the completions will be re-enabled.

Fixes: https://github.com/nodejs/node/issues/40626
Fixes: https://github.com/nodejs/node/issues/43343
PR-URL: https://github.com/nodejs/node/pull/59857
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2025-11-19 18:17:46 +01:00
..
callbacks.js
emitKeypressEvents.js
interface.js repl: fix cpu overhead pasting big strings to the REPL 2025-11-19 18:17:46 +01:00
promises.js
utils.js