setCursorStyle
import { setCursorStyle } from "jsr:@ende/cli/unstable-ansi";function ยท experimental
function setCursorStyle(x: CursorStyle): stringSets the cursor animation style.
x: CursorStyleThe cursor style to set.
Returns
The ANSI escape code to set the cursor style.
Example: Usage
import * as Ansi from "@ende/cli/unstable-ansi";
console.log(Ansi.setCursorStyle(Ansi.CursorStyle.BlinkingUnderline));