UNPKG

tiny-cursor

Version:

A tiny library for hiding and showing the cursor in the terminal.

11 lines (10 loc) 242 B
declare class Cursor { private stream; private visible; constructor(stream?: NodeJS.WriteStream); has: () => boolean; hide: () => void; show: () => void; toggle: (force?: boolean) => void; } export default Cursor;