sandsifter
sandsifter copied to clipboard
Resizing terminal window crashes summarize.py
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:
- Run with the terminal in full screen mode
- Resize terminal
- Crash (profit)