Show More
@@ -1563,7 +1563,6 b' class curseschunkselector:' | |||||
1563 | def sigwinchhandler(self, n, frame): |
|
1563 | def sigwinchhandler(self, n, frame): | |
1564 | """handle window resizing""" |
|
1564 | """handle window resizing""" | |
1565 | try: |
|
1565 | try: | |
1566 | curses.endwin() |
|
|||
1567 | self.xscreensize, self.yscreensize = scmutil.termsize(self.ui) |
|
1566 | self.xscreensize, self.yscreensize = scmutil.termsize(self.ui) | |
1568 | self.statuswin.resize(self.numstatuslines, self.xscreensize) |
|
1567 | self.statuswin.resize(self.numstatuslines, self.xscreensize) | |
1569 | self.numpadlines = self.getnumlinesdisplayed(ignorefolding=True) + 1 |
|
1568 | self.numpadlines = self.getnumlinesdisplayed(ignorefolding=True) + 1 | |
@@ -1694,7 +1693,6 b' smaller changesets. the following are va' | |||||
1694 |
|
1693 | |||
1695 | curses.raw() |
|
1694 | curses.raw() | |
1696 | curses.def_prog_mode() |
|
1695 | curses.def_prog_mode() | |
1697 | curses.endwin() |
|
|||
1698 | self.commenttext = self.ui.edit(self.commenttext, self.ui.username()) |
|
1696 | self.commenttext = self.ui.edit(self.commenttext, self.ui.username()) | |
1699 | curses.cbreak() |
|
1697 | curses.cbreak() | |
1700 | self.stdscr.refresh() |
|
1698 | self.stdscr.refresh() |
General Comments 0
You need to be logged in to leave comments.
Login now