moveCursorRightTab

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

function ยท experimental

function moveCursorRightTab(x: number = 1): string

Moves cursor position x tab stops right or up to the right margin.

x: number = 1

The number of tab stops to move right.

Returns

The ANSI escape code for moving the cursor right every tab stop.

Example: Usage

import * as Ansi from "@ende/cli/unstable-ansi";

console.log(Ansi.moveCursorRightTab() + "Hello World!");

Source