Programs can make your cursor disappear
Yesterday a program made my terminal’s cursor disappear! I was really surprised because programs so rarely mess up my terminal these days.
Normally my prompt looks like this:
But after running echo -e "\033[?25l"
(the escape code for “make cursor
invisible”), the cursor is gone, like this.
I just dealt with it by opening a new terminal tab, but you can also run
reset
or echo -e "\033[?25h"
. I don’t really like using reset
because it sleeps for 1 second and I find it kind of annoying, I wish it ran instantly.