Skip to content

Conversation

addaleax
Copy link
Collaborator

This is the second half of MONGOSH-586.

The REPL’s built-in autocompleter uses repl.eval() to figure out
what JS object’s properties it would be autocompleting. These
.eval() calls don’t represent a state change as far as input
handling is concerned, so they should not affect the prompt and not
enable block-on-newline.

This is the second half of MONGOSH-586.

The REPL’s built-in autocompleter uses `repl.eval()` to figure out
what JS object’s properties it would be autocompleting. These
`.eval()` calls don’t represent a state change as far as input
handling is concerned, so they should not affect the prompt and not
enable block-on-newline.
@addaleax addaleax merged commit 6287fd4 into master Feb 15, 2021
@addaleax addaleax deleted the 586-dev-2 branch February 15, 2021 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants