Module

x/lume/deps/cliffy.ts>getCursorPosition

🔥 Static site generator for Deno 🦕
Very Popular
Latest
function getCursorPosition
import { getCursorPosition } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/cliffy.ts";

Get cursor position.

Parameters

optional
unnamed 0: CursorPositionOptions = [UNSUPPORTED]

Options.

const cursor: Cursor = getCursorPosition();
console.log(cursor); // { x: 0, y: 14}
import getCursorPosition
import { getCursorPosition } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/cliffy.ts";