I've been using and programming computers for decades now. I'm almost ashamed to...

@nuintari@bsd.cafe

I've been using and programming computers for decades now.

I'm almost ashamed to admit I just figured out how to make the cursor disappear this morning.

printing "\033[?25l"
--turns the cursor off

printing "\033[?25h"
--turns it back on

Convert to your language of choice as needed. I of course now have to bolt this onto about 3 dozen Perl scripts.

Incidentally, this came about because I decided I wanted a command line stopwatch app that didn't suck. The cursor made it ugly, so I figured out how to get rid of it. Necessity is the mother of invention.

#UNIX #computers #programming