UNPKG

@jawis/stdio-filter

Version:
12 lines (11 loc) 390 B
type ParseEventCallbacks = { onPrint: (str: string) => void; onAction: (action: "up" | "down" | "right" | "left" | "up-beginning" | "down-beginning", count: number) => void; onAction2: (action: "erase-to-beginning") => void; setPosition: (x: number, y?: number) => void; }; /** * */ export declare const makeAnsiParser: (callbacks: ParseEventCallbacks) => any; export {};