@@ -34,8 +34,8 @@ feature set.
3434
3535The following special commands are supported by all REPL instances:
3636
37- * ` .break ` : When in the process of inputting a multi-line expression, entering
38- the ` .break ` command (or pressing the ` <ctrl>-C ` key combination) will abort
37+ * ` .break ` : When in the process of inputting a multi-line expression, enter
38+ the ` .break ` command (or press ** Ctrl+C ** ) to abort
3939 further input or processing of that expression.
4040* ` .clear ` : Resets the REPL ` context ` to an empty object and clears any
4141 multi-line expression being input.
@@ -45,7 +45,7 @@ The following special commands are supported by all REPL instances:
4545 ` > .save ./file/to/save.js `
4646* ` .load ` : Load a file into the current REPL session.
4747 ` > .load ./file/to/load.js `
48- * ` .editor ` : Enter editor mode (` <ctrl>-D ` to finish, ` <ctrl>-C ` to cancel).
48+ * ` .editor ` : Enter editor mode (** Ctrl+D ** to finish, ** Ctrl+C ** to cancel).
4949
5050``` console
5151> .editor
@@ -63,10 +63,10 @@ welcome('Node.js User');
6363
6464The following key combinations in the REPL have these special effects:
6565
66- * ` <ctrl>-C ` : When pressed once, has the same effect as the ` .break ` command.
66+ * ** Ctrl+C ** : When pressed once, has the same effect as the ` .break ` command.
6767 When pressed twice on a blank line, has the same effect as the ` .exit `
6868 command.
69- * ` <ctrl>-D ` : Has the same effect as the ` .exit ` command.
69+ * ** Ctrl+D ** : Has the same effect as the ` .exit ` command.
7070* ` <tab> ` : When pressed on a blank line, displays global and local (scope)
7171 variables. When pressed while entering other input, displays relevant
7272 autocompletion options.
@@ -246,14 +246,14 @@ added: v13.6.0
246246-->
247247
248248The REPL supports bi-directional reverse-i-search similar to [ ZSH] [ ] . It is
249- triggered with ` <ctrl> + R ` to search backward and ` <ctrl> + S ` to search
250- forward .
249+ triggered with ** Ctrl+R ** to search backward and ** Ctrl+S ** to search
250+ forwards .
251251
252252Duplicated history entires will be skipped.
253253
254254Entries are accepted as soon as any button is pressed that doesn't correspond
255- with the reverse search. Cancelling is possible by pressing ` escape ` or
256- ` <ctrl> + C ` .
255+ with the reverse search. Cancelling is possible by pressing ** Esc ** or
256+ ** Ctrl+C ** .
257257
258258Changing the direction immediately searches for the next entry in the expected
259259direction from the current position on.
@@ -282,7 +282,7 @@ repl.start({ prompt: '> ', eval: myEval });
282282
283283#### Recoverable errors
284284
285- As a user is typing input into the REPL prompt, pressing the ` <enter> ` key will
285+ As a user is typing input into the REPL prompt, pressing ** Enter ** will
286286send the current line of input to the ` eval ` function. In order to support
287287multi-line input, the eval function can return an instance of ` repl.Recoverable `
288288to the provided callback function:
@@ -379,8 +379,8 @@ added: v0.7.7
379379-->
380380
381381The ` 'exit' ` event is emitted when the REPL is exited either by receiving the
382- ` .exit ` command as input, the user pressing ` <ctrl>-C ` twice to signal ` SIGINT ` ,
383- or by pressing ` <ctrl>-D ` to signal ` 'end' ` on the input stream. The listener
382+ ` .exit ` command as input, the user pressing ** Ctrl+C ** twice to signal ` SIGINT ` ,
383+ or by pressing ** Ctrl+D ** to signal ` 'end' ` on the input stream. The listener
384384callback is invoked without any arguments.
385385
386386``` js
0 commit comments