Skip to content

Commit

Permalink
repl: preserve preview on ESCAPE key press
Browse files Browse the repository at this point in the history
change according to cr
  • Loading branch information
meixg committed Mar 3, 2023
1 parent 3ede267 commit 24cec13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/repl/utils.js
Expand Up @@ -379,8 +379,8 @@ function setupPreview(repl, contextSymbol, bufferSymbol, active) {
hasCompletions = false;

// Add the autocompletion preview.
const insertPreview = false;
if (showCompletion) {
const insertPreview = false;
showCompletionPreview(repl.line, insertPreview);
}

Expand Down

0 comments on commit 24cec13

Please sign in to comment.