Show More
@@ -1757,7 +1757,7 b' class ibrowse(ipipe.Display):' | |||||
1757 | self.scr = None |
|
1757 | self.scr = None | |
1758 |
|
1758 | |||
1759 | def display(self): |
|
1759 | def display(self): | |
1760 | if hasattr(curses, "resize_term"): |
|
1760 | if hasattr(curses, "resize_term") and hasattr(signal, 'SIGWINCH'): | |
1761 | oldhandler = signal.signal(signal.SIGWINCH, self.sigwinchhandler) |
|
1761 | oldhandler = signal.signal(signal.SIGWINCH, self.sigwinchhandler) | |
1762 | try: |
|
1762 | try: | |
1763 | return curses.wrapper(self._dodisplay) |
|
1763 | return curses.wrapper(self._dodisplay) |
General Comments 0
You need to be logged in to leave comments.
Login now