Show More
@@ -1616,6 +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) | |||
|
1620 | signal.signal(signal.SIGWINCH, origsigwinchhandler) | |||
|
1621 | ||||
|
1622 | def _main(self, stdscr): | |||
1619 | self.stdscr = stdscr |
|
1623 | self.stdscr = stdscr | |
1620 | # error during initialization, cannot be printed in the curses |
|
1624 | # error during initialization, cannot be printed in the curses | |
1621 | # interface, it should be printed by the calling code |
|
1625 | # interface, it should be printed by the calling code | |
@@ -1667,4 +1671,3 b' are you sure you want to review/edit and' | |||||
1667 | keypressed = "foobar" |
|
1671 | keypressed = "foobar" | |
1668 | if self.handlekeypressed(keypressed): |
|
1672 | if self.handlekeypressed(keypressed): | |
1669 | break |
|
1673 | break | |
1670 | signal.signal(signal.SIGWINCH, origsigwinchhandler) |
|
General Comments 0
You need to be logged in to leave comments.
Login now