rl.clearScreenDown()


  • 返回: this

rl.clearScreenDown() 方法向待处理动作的内部列表添加一个动作,该动作从光标向下的当前位置清除关联流。 调用 rl.commit() 看看这个方法的效果,除非 autoCommit: true 传给了构造函数。

  • Returns: this

The rl.clearScreenDown() method adds to the internal list of pending action an action that clears the associated stream from the current position of the cursor down. Call rl.commit() to see the effect of this method, unless autoCommit: true was passed to the constructor.