Hide and unhide cursor with tput in bash
Hide:
tput civis
Unhide:
tput cnorm