doc: align breakEvalOnSigint - repl option · nodejs/node@c948877

Original file line numberDiff line numberDiff line change

@@ -392,9 +392,9 @@ added: v0.1.91

392392

equivalent to prefacing every repl statement with `'use strict'`.

393393

* `repl.REPL_MODE_MAGIC` - attempt to evaluates expressions in default

394394

mode. If expressions fail to parse, re-try in strict mode.

395-

* `breakEvalOnSigint` - Stop evaluating the current piece of code when

396-

`SIGINT` is received, i.e. `Ctrl+C` is pressed. This cannot be used together

397-

with a custom `eval` function. Defaults to `false`.

395+

* `breakEvalOnSigint` - Stop evaluating the current piece of code when

396+

`SIGINT` is received, i.e. `Ctrl+C` is pressed. This cannot be used together

397+

with a custom `eval` function. Defaults to `false`.

398398
399399

The `repl.start()` method creates and starts a `repl.REPLServer` instance.

400400