writeStream.clearScreenDown([callback])
-
callback<Function> 操作完成后调用。¥
callback<Function> Invoked once the operation completes. -
返回:<boolean>
false如果流希望调用代码在继续写入附加数据之前等待'drain'事件触发;否则true。¥Returns: <boolean>
falseif the stream wishes for the calling code to wait for the'drain'event to be emitted before continuing to write additional data; otherwisetrue.
writeStream.clearScreenDown() 从当前光标向下清除此 WriteStream。
¥writeStream.clearScreenDown() clears this WriteStream from the current
cursor down.