Skip to main content
Interface.prototype.cursor - node__readline.d.ts - Node documentation
property Interface.prototype.cursor

Usage in Deno

```typescript import { Interface } from "node:node__readline.d.ts"; ```
The cursor position relative to `rl.line`. This will track where the current cursor lands in the input string, when reading input from a TTY stream. The position of cursor determines the portion of the input string that will be modified as input is processed, as well as the column where the terminal caret will be rendered.

Type

number