node/lib/internal/readline
Ruben Bridgewater 49f79b8e93
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-09-14 00:06:47 +00:00
..
callbacks.js lib: replace validator and error 2022-02-05 08:36:48 -08:00
emitKeypressEvents.js readline: refactor Interface to ES2015 class 2021-09-16 23:16:34 +02:00
interface.js repl: fix cpu overhead pasting big strings to the REPL 2025-09-14 00:06:47 +00:00
promises.js meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
utils.js repl: add possibility to edit multiline commands while adding them 2025-05-04 18:42:06 +00:00