UNPKG

sisteransi

Version:

ANSI escape codes for some terminal swag

34 lines (33 loc) 881 B
declare const beep = "\u0007"; declare const cursor: { to(x: number, y?: number): string; move(x: number, y: number): string; up: (count?: number) => string; down: (count?: number) => string; forward: (count?: number) => string; backward: (count?: number) => string; nextLine: (count?: number) => string; prevLine: (count?: number) => string; left: string; hide: string; show: string; save: string; restore: string; }; declare const scroll: { up: (count?: number) => string; down: (count?: number) => string; }; declare const erase: { screen: string; up: (count?: number) => string; down: (count?: number) => string; line: string; lineEnd: string; lineStart: string; lines(count: number): string; }; declare const clear: { screen: string; }; export { cursor, scroll, erase, beep, clear };