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