SHOW_CURSOR

import { SHOW_CURSOR } from "jsr:@ende/cli/unstable-ansi";

variable ยท experimental

const SHOW_CURSOR: "\u001b[?25h"

Causes cursor position to be visible to the user. See also HIDE_CURSOR.

Returns

The ANSI escape code to show the cursor.

Example: Usage

import { delay } from "@ende/async/delay";
import * as Ansi from "@ende/cli/unstable-ansi";

console.log(Ansi.HIDE_CURSOR);
await delay(5000);
console.log(Ansi.SHOW_CURSOR);

Source