Hide cursor on NodeJS blessed

299 views Asked by At

I want to hide the cursor in my blessed application. I've tried using the following options:

cursor: {
   color: "black",
   blink: false,
   artificial: true,
},

Inside the screen object, it didn't work. So, I've also tried using:

var cur = require('hide-cursor');
cur.hide();

which didn't work either.

Anyone got some ideas on how to do that?

1

There are 1 answers

0
Jhon On

Remove the cursor object:

cursor: {
   color: "black",
   blink: false,
   artificial: true,
},

Or, try to put cursor: 'false' in your screen const. You don't need another module to remove the cursor.