Skip to content
Advertisement

Urwid: make cursor invisible

I’m using urwid, which is a Python “framework” for designing terminal user interfaces in ncurses. There’s one thing though that I’m not able to do in urwid that was easy in curses – make the cursor invisible. As it is now, the cursor is visible when selecting buttons, and it just looks plain ugly. Is there a way to disable it?

Advertisement

Answer

urwid uses the curs_set function, but does not expose it as a class method anywhere. Someone could modify urwid to allow using this method; otherwise there’s no reliable method of doing this.

You might report it as an issue.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement