Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alloy_folk/deps.ts>cliffy.getCursorPosition

An application installer for restriced macOS
Go to Latest
function cliffy.getCursorPosition
Re-export
import { cliffy } from "https://deno.land/x/alloy_folk@v1.1.1/deps.ts";
const { getCursorPosition } = cliffy;

Get cursor position.

Parameters

optional
unnamed 0: CursorPositionOptions = [UNSUPPORTED]

Options.

const cursor: Cursor = getCursorPosition();
console.log(cursor); // { x: 0, y: 14}