function moveCursor
Jump to headingmoveCursor(stream: WritableStream,dx: number,dy: number,callback?: () => void,): boolean
The readline.moveCursor()
method moves the cursor relative to its current
position in a given TTY stream
.
Parameters Jump to heading
Jump to headingstream: WritableStream
Jump to headingdx: number
Jump to headingdy: number
optional
Jump to headingcallback: () => void
Invoked once the operation completes.
Return Type Jump to heading
boolean
false
if stream
wishes for the calling code to wait for the 'drain'
event to be emitted before continuing to write additional data; otherwise true
.