-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Running simengine-cli status --monitor throws when terminal window is resized (when the window is smaller than the output).
Traceback:
Traceback (most recent call last):
File "/home/huanshi/dev/simengine/enginecore/simengine-cli", line 55, in <module>
options.func(vars(options))
File "/home/huanshi/dev/simengine/enginecore/enginecore/cli/status.py", line 29, in <lambda>
status_group.set_defaults(func=lambda args: get_status(**args))
File "/home/huanshi/dev/simengine/enginecore/enginecore/cli/status.py", line 132, in get_status
status_table_format(assets, stdscr)
File "/home/huanshi/dev/simengine/enginecore/enginecore/cli/status.py", line 65, in status_table_format
i+1, 0, row, curses.color_pair(bcolors.ERROR if int(asset['status']) == 0 else bcolors.OKGREEN)
_curses.error: addwstr() returned ERR
see:
Metadata
Metadata
Assignees
Labels
No labels