Skip to main content
Readline.prototype.moveCursor - node__readline--promises.d.ts - Node documentation
method Readline.prototype.moveCursor

Usage in Deno

```typescript import { Readline } from "node:node__readline--promises.d.ts"; ```
Readline.prototype.moveCursor(
dx: number,
dy: number,
): this
The `rl.moveCursor()` method adds to the internal list of pending action an action that moves the cursor _relative_ to its current position in the associated `stream`. Call `rl.commit()` to see the effect of this method, unless `autoCommit: true` was passed to the constructor.

Parameters

dx: number
dy: number

Return Type

this
this