##// END OF EJS Templates
crecord: ensure we reinstall the SIGWINCH handler...
Pierre-Yves David -
r31930:7e7743a0 default
parent child Browse files
Show More
@@ -1616,8 +1616,10 b' are you sure you want to review/edit and'
1616
1616
1617 origsigwinchhandler = signal.signal(signal.SIGWINCH,
1617 origsigwinchhandler = signal.signal(signal.SIGWINCH,
1618 self.sigwinchhandler)
1618 self.sigwinchhandler)
1619 return self._main(stdscr)
1619 try:
1620 signal.signal(signal.SIGWINCH, origsigwinchhandler)
1620 return self._main(stdscr)
1621 finally:
1622 signal.signal(signal.SIGWINCH, origsigwinchhandler)
1621
1623
1622 def _main(self, stdscr):
1624 def _main(self, stdscr):
1623 self.stdscr = stdscr
1625 self.stdscr = stdscr
General Comments 0
You need to be logged in to leave comments. Login now