tiny-cursor

Hide and show the cursor in terminal applications.

npmmacoslinuxwindows
Try with needOr install directly
Source

About

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

Examples

hide the cursor while a program is running$ tiny-cursor hide
show the cursor after hiding it$ tiny-cursor show
toggle cursor visibility on and off$ tiny-cursor toggle
use tiny-cursor in a shell script to manage cursor state$ #!/bin/bash tiny-cursor hide sleep 2 tiny-cursor show
create a terminal user interface with hidden cursor$ tiny-cursor hide && your-tui-app && tiny-cursor show