# HG changeset patch # User Laurent Charignon # Date 2015-06-03 21:22:21 # Node ID 6e62a5b3442d98a2062cee32d193ff7b7217b843 # Parent c0995cd8ff6fdc44ff20835e005771f08452a353 crecord: fix blue artifact bug coming back from help screen Before this patch, with record's curses interface: - When one pressed the ? key to see the help menu and then leaves the help menu - Then, blue artifacts would remain on the screen This patch forces a screen clear / refresh after coming back from the help menu. Since we don't have UI test for crecord I checked on my machine that the bug does not reproduce. diff --git a/mercurial/crecord.py b/mercurial/crecord.py --- a/mercurial/crecord.py +++ b/mercurial/crecord.py @@ -1554,6 +1554,8 @@ are you sure you want to review/edit and self.togglefolded(foldparent=True) elif keypressed in ["?"]: self.helpwindow() + self.stdscr.clear() + self.stdscr.refresh() def main(self, stdscr): """