Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizing terminal window crashes summarize.py #67

Open
Husky2490 opened this issue Sep 13, 2018 · 0 comments
Open

Resizing terminal window crashes summarize.py #67

Husky2490 opened this issue Sep 13, 2018 · 0 comments

Comments

@Husky2490
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant