【Event: 'resume'】
新增于: v0.7.5
每当 input 流恢复时,都会触发 'resume' 事件。
【The 'resume' event is emitted whenever the input stream is resumed.】
调用监听器函数时不传入任何参数。
【The listener function is called without passing any arguments.】
rl.on('resume', () => {
console.log('Readline resumed.');
});