moveCursorRight
import { moveCursorRight } from "jsr:@ende/cli/unstable-ansi";function ยท experimental
function moveCursorRight(x: number = 1): stringMoves cursor position x columns right or up to the right margin.
x: number = 1The number of columns to move right.
Returns
The ANSI escape code for moving the cursor right.
Example: Usage
import * as Ansi from "@ende/cli/unstable-ansi";
console.log(Ansi.moveCursorRight(2) + "Hello World!");