xoreaxeaxeax / sandsifter

The x86 processor fuzzer

Repository from Github https://github.comxoreaxeaxeax/sandsifterRepository from Github https://github.comxoreaxeaxeax/sandsifter

Resizing terminal window crashes summarize.py

Husky2490 opened this issue · comments

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)