readline.clearScreenDown(stream[, callback])


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

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

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