Sticky Terminal Display
Control and update lines on the terminal for progress bars
Installation
npm install sticky-terminal-display
Example Usage
This code will show a countdown, all on a single line of the terminal.
const StickyTerminalDisplay = ; ; { const display = ; const renderer = display; renderer; await ; for let i = 3; i > 0; i-- renderer; await ; renderer;} { return ;}
You can use this with multiple renderers too! You might use this if you have a process with multiple workers that need to display their state.
TODO: show example