### Version 18.12.1 ### Platform Darwin 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:42:11 PST 2023; root:xnu-8792.81.3~2/RELEASE_X86_64 x86_64 ### Subsystem repl ### What steps will reproduce the bug? In repl ``` > 1+1 // then press ESC key ``` ### How often does it reproduce? Is there a required condition? Always ### What is the expected behavior? Keep preview, only remove autocomplete ChromeDevTools also keep the preview after pressing the ESC key <img width="214" alt="Chrome" src="https://user-images.githubusercontent.com/7445212/221741673-a8832b4e-b6aa-426a-bc54-4ad185170af8.png"> ### What do you see instead? The preview is removed ### Additional information The preview is removed by this PR: https://github.com/nodejs/node/pull/42053
Activity
repl: preserve preview on ESCAPE key press
repl: preserve preview on ESCAPE key press
repl: preserve preview on ESCAPE key press
repl: preserve preview on ESCAPE key press