Open hjwp opened 10 years ago
I get:
Traceback (most recent call last): File "/usr/local/bin/uwsgitop", line 149, in <module> screen.addstr(pos, 0, " %s\t%d" % (vassal['id'].ljust(vassal_spaces), vassal['pid'])) error: addstr() returned ERR
Think it could be some problem with curses being confused about the size of the terminal it has available? http://ubuntuforums.org/showthread.php?t=457689
This happens when the terminal has not enough rows to print all vassals. I found that out by adding if pos >= 70: break to the vassall print loop (where 70 is around the number of rows visible in my terminal).
if pos >= 70: break
I get:
Think it could be some problem with curses being confused about the size of the terminal it has available? http://ubuntuforums.org/showthread.php?t=457689