readline.moveCursor(stream, dx, dy[, callback])
-
stream
<stream.Writable> -
dx
<number> -
dy
<number> -
callback
<Function> 操作完成后调用。¥
callback
<Function> Invoked once the operation completes. -
返回:<boolean>
false
(如果stream
希望调用代码在继续写入附加数据之前等待'drain'
事件触发);否则true
。¥Returns: <boolean>
false
ifstream
wishes for the calling code to wait for the'drain'
event to be emitted before continuing to write additional data; otherwisetrue
.
readline.moveCursor()
方法将光标相对于其在给定 TTY stream
中的当前位置移动。
¥The readline.moveCursor()
method moves the cursor relative to its current
position in a given TTY stream
.