Event: 'SIGCONT'
function () {}
This does not work on Windows.
Emitted whenever the input
stream is sent to the background with ^Z
, respectively known as SIGTSTP
, and then continued with fg(1)
. This event only emits if the stream was not paused before sending the program to the background.
Example of listening for SIGCONT
:
rl.on('SIGCONT', () => { // `prompt` will automatically resume the stream rl.prompt(); });
Please login to continue.