readline.clearScreenDown(stream[, callback])


  • stream <stream.Writable>
  • callback <Function> 操作完成后调用一次。
  • 返回:<boolean> false 如果 stream 希望调用代码在继续写入额外数据之前等待 'drain' 事件被触发;否则为 true

readline.clearScreenDown() 方法会清除从当前光标位置向下的指定 文字电话 流内容。

🌐 The readline.clearScreenDown() method clears the given TTY stream from the current position of the cursor down.