Skip to content

error with small window #1

Description

@jon2allen

This error could be caught with a better desscripton

Traceback (most recent call last):
File "cuckoo_sim.py", line 312, in
curses.wrapper(main)
File "/usr/lib/python3.8/curses/init.py", line 105, in wrapper
return func(stdscr, *args, **kwds)
File "cuckoo_sim.py", line 273, in main
draw_box(stdscr, 1, 2, TABLE_SIZE + 2, 22, "TABLE 1")
File "cuckoo_sim.py", line 23, in draw_box
win.addch(y + height, x + i, curses.ACS_HLINE)
_curses.error: addch() returned ERR

Window needs to be a certain size before it will work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions