Starting howmanypeoplearearound using xterm-color as $TERM resulted in:
Traceback (most recent call last):
File "howmanypeoplearearound/__main__.py", line 131, in scan
adapter, index = pick(netifaces.interfaces(), title)
File "/home/juergen/python/pick/pick/__init__.py", line 191, in pick
return picker.start()
File "/home/juergen/python/pick/pick/__init__.py", line 177, in start
return curses.wrapper(self._start)
File "/usr/lib/python3.7/curses/__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "/home/juergen/python/pick/pick/__init__.py", line 173, in _start
self.config_curses()
File "/home/juergen/python/pick/pick/__init__.py", line 166, in config_curses
curses.curs_set(0)
_curses.error: curs_set() returned ERR
Starting
howmanypeoplearearound
usingxterm-color
as$TERM
resulted in:Root cause: The unmaintained
xterm-color
terminfo doesn't have thecursor_invisible
capability.Using this commit results in more "user-friendly" error message: