aboutsummaryrefslogtreecommitdiff
path: root/node_modules/sisteransi/src/sisteransi.d.ts
blob: 113da2f6be5990f78a68b81588685be660f9d8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
export const beep: string;
export const clear: string;

export namespace cursor {
    export const left: string;
    export const hide: string;
    export const show: string;
    export const save: string;
    export const restore: string;

    export function to(x: number, y?: number): string;
    export function move(x: number, y: number): string;
    export function up(count?: number): string;
    export function down(count?: number): string;
    export function forward(count?: number): string;
    export function backward(count?: number): string;
    export function nextLine(count?: number): string;
    export function prevLine(count?: number): string;
}

export namespace scroll {
    export function up(count?: number): string;
    export function down(count?: number): string;
}

export namespace erase {
    export const screen: string;
    export const line: string;
    export const lineEnd: string;
    export const lineStart: string;

    export function up(count?: number): string;
    export function down(count?: number): string;
    export function lines(count: number): string;
}