UNPKG

stdout-update

Version:

Updates the previous output in the terminal. Useful for correct rendering progress bars, animations, etc.

12 lines (11 loc) 327 B
/// <reference types="node" resolution-mode="require"/> export declare class Hook { #private; static readonly DRAIN = true; constructor(stream: NodeJS.WriteStream); active(): void; erase(count: number): void; inactive(separateHistory?: boolean): void; renew(): void; write(msg: string): void; }