@@ -90,7 +90,7 @@ The `'pause'` event is emitted when one of the following occur:
9090
9191* The ` input ` stream is paused.
9292* The ` input ` stream is not paused and receives the ` SIGCONT ` event. (See
93- events ` SIGTSTP ` and ` SIGCONT ` )
93+ events [ ` SIGTSTP ` ] [ ] and [ ` SIGCONT ` ] [ ] )
9494
9595The listener function is called without passing any arguments.
9696
@@ -126,7 +126,7 @@ The `'SIGCONT'` event is emitted when a Node.js process previously moved into
126126the background using ` <ctrl>-Z ` (i.e. ` SIGTSTP ` ) is then brought back to the
127127foreground using ` fg(1) ` .
128128
129- If the ` input ` stream was paused * before* the ` SIGSTP ` request, this event will
129+ If the ` input ` stream was paused * before* the ` SIGTSTP ` request, this event will
130130not be emitted.
131131
132132The listener function is invoked without passing any arguments.
@@ -169,7 +169,7 @@ rl.on('SIGINT', () => {
169169added: v0.7.5
170170-->
171171
172- The ` 'SIGTSPT ' ` event is emitted when the ` input ` stream receives a ` <ctrl>-Z `
172+ The ` 'SIGTSTP ' ` event is emitted when the ` input ` stream receives a ` <ctrl>-Z `
173173input, typically known as ` SIGTSTP ` . If there are no ` SIGTSTP ` event listeners
174174registered when the ` input ` stream receives a ` SIGTSTP ` , the Node.js process
175175will be sent to the background.
@@ -523,3 +523,5 @@ rl.on('line', (line) => {
523523[ Writable ] : stream.html
524524[ Readable ] : stream.html
525525[ TTY ] : tty.html
526+ [ `SIGTSTP` ] : readline.html#readline_event_sigtstp
527+ [ `SIGCONT` ] : readline.html#readline_event_sigcont
0 commit comments