Skip to content

Commit

Permalink
fix: style fix
Browse files Browse the repository at this point in the history
Signed-off-by: Vinit Pandit <[email protected]>
  • Loading branch information
Vinit-Pandit authored Dec 27, 2024
1 parent 3db8b0c commit 1a0d75f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/node_modules/@stdlib/repl/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ function REPL( options ) {
FLG = self._editorActions.beforeKeypress( data, key );

self._eagerEvaluator.beforeKeypress( data, key );

// If ENTER keypress is encountered or if a preview was completed while navigating, gracefully close the completer...
if ( completed || ( key && key.name === 'return' ) ) {
self._completerEngine.closeCompleter();
Expand Down

0 comments on commit 1a0d75f

Please sign in to comment.