D6130: crecord: redraw the screen on ctrl-L

spectral (Kyle Lippincott) phabricator at mercurial-scm.org
Wed Mar 20 14:08:09 EDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGfa3b0ca9d74f: crecord: redraw the screen on ctrl-L (authored by spectral, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6130?vs=14489&id=14572

REVISION DETAIL
  https://phab.mercurial-scm.org/D6130

AFFECTED FILES
  mercurial/crecord.py

CHANGE DETAILS

diff --git a/mercurial/crecord.py b/mercurial/crecord.py
--- a/mercurial/crecord.py
+++ b/mercurial/crecord.py
@@ -1730,8 +1730,11 @@
             self.stdscr.clear()
             self.stdscr.refresh()
         elif curses.unctrl(keypressed) in ["^L"]:
-            # scroll the current line to the top of the screen
+            # scroll the current line to the top of the screen, and redraw
+            # everything
             self.scrolllines(self.selecteditemstartline)
+            self.stdscr.clear()
+            self.stdscr.refresh()
 
     def main(self, stdscr):
         """



To: spectral, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list