Skip to content

Resizing terminal window crashes summarize.py #67

Description

@Husky2490

Stderr:

Traceback (most recent call last):
  File "./summarize.py", line 751, in <module>
    textbox.draw()
  File "/home/ruben/Documents/repos/sandsifter/gui/gui.py", line 68, in draw
    self.gui.box(self.window, self.x, self.y, self.w, self.h, self.color)
  File "/home/ruben/Documents/repos/sandsifter/gui/gui.py", line 175, in box
    window.addch(y + h - 1, x + i, curses.ACS_HLINE, color)
_curses.error: addch() returned ERR

To replicate:

  1. Run with the terminal in full screen mode
  2. Resize terminal
  3. Crash (profit)

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