rl.pause()


rl.pause() 方法会暂停 input 流,以便在必要时可以稍后恢复。

🌐 The rl.pause() method pauses the input stream, allowing it to be resumed later if necessary.

调用 rl.pause() 并不会立即暂停 readline.Interface 实例发出的其他事件(包括 'line')。

🌐 Calling rl.pause() does not immediately pause other events (including 'line') from being emitted by the readline.Interface instance.