UNPKG

751 BTypeScriptView Raw
1/**
2 * ANSI escape codes (WIP)
3 *
4 * @see https://en.wikipedia.org/wiki/ANSI_escape_code
5 */
6export declare class EscapeCode {
7 static readonly cursorLeft: () => string;
8 static readonly cursorUp: (count?: number) => string;
9 static readonly cursorDown: (count?: number) => string;
10 static readonly cursorForward: (count?: number) => string;
11 static readonly cursorBackward: (count?: number) => string;
12 static readonly cursorHide: () => string;
13 static readonly cursorShow: () => string;
14 static readonly eraseLine: () => string;
15 static readonly eraseLines: (count: number) => string;
16 static readonly eraseUp: () => string;
17 static readonly eraseDown: () => string;
18 static readonly eraseScreen: () => string;
19}