diff --git a/IPython/deathrow/ibrowse.py b/IPython/deathrow/ibrowse.py index 809b4c9..f937012 100644 --- a/IPython/deathrow/ibrowse.py +++ b/IPython/deathrow/ibrowse.py @@ -1757,7 +1757,7 @@ class ibrowse(ipipe.Display): self.scr = None def display(self): - if hasattr(curses, "resize_term"): + if hasattr(curses, "resize_term") and hasattr(signal, 'SIGWINCH'): oldhandler = signal.signal(signal.SIGWINCH, self.sigwinchhandler) try: return curses.wrapper(self._dodisplay)