rl.pause()
rl.pause()
方法暂停 input
流,允许它稍后在必要时恢复。
调用 rl.pause()
不会立即暂停其他由 readline.Interface
实例触发的事件(包括 'line'
)。
The rl.pause()
method pauses the input
stream, allowing it to be resumed
later if necessary.
Calling rl.pause()
does not immediately pause other events (including
'line'
) from being emitted by the readline.Interface
instance.