每当 input 流恢复时,就会触发 'resume' 事件。

    调用监听器函数时不传入任何参数。

    1. rl.on('resume', () => {
    2. console.log('Readline 恢复');
    3. });