Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method promises.Readline.prototype.cursorTo
Re-export
import { promises } from "https://deno.land/std@0.160.0/node/readline.ts";
const { Readline } = promises;

Moves the cursor to the x and y coordinate on the given stream.

Parameters

x
optional
y = [UNSUPPORTED]