summaryrefslogtreecommitdiff
path: root/doc/api/repl.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/repl.md')
-rw-r--r--doc/api/repl.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/repl.md b/doc/api/repl.md
index 967336710c..21f5193c12 100644
--- a/doc/api/repl.md
+++ b/doc/api/repl.md
@@ -510,6 +510,9 @@ with REPL instances programmatically.
<!-- YAML
added: v0.1.91
changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/30811
+ description: The `preview` option is now available.
- version: v12.0.0
pr-url: https://github.com/nodejs/node/pull/26518
description: The `terminal` option now follows the default description in
@@ -562,6 +565,8 @@ changes:
* `breakEvalOnSigint` {boolean} Stop evaluating the current piece of code when
`SIGINT` is received, such as when `Ctrl+C` is pressed. This cannot be used
together with a custom `eval` function. **Default:** `false`.
+ * `preview` {boolean} Defines if the repl prints output previews or not.
+ **Default:** `true`. Always `false` in case `terminal` is falsy.
* Returns: {repl.REPLServer}
The `repl.start()` method creates and starts a [`repl.REPLServer`][] instance.