##// END OF EJS Templates
crecord: add an event that scrolls the selected line to the top of the screen...
Nathan Goldbaum -
r29957:7d053ba7 default
parent child Browse files
Show More
@@ -1338,6 +1338,7 b' the following are valid keystrokes:'
1338 shift-left-arrow [H] : go to parent header / fold selected header
1338 shift-left-arrow [H] : go to parent header / fold selected header
1339 f : fold / unfold item, hiding/revealing its children
1339 f : fold / unfold item, hiding/revealing its children
1340 F : fold / unfold parent item and all of its ancestors
1340 F : fold / unfold parent item and all of its ancestors
1341 ctrl-l : scroll the selected line to the top of the screen
1341 m : edit / resume editing the commit message
1342 m : edit / resume editing the commit message
1342 e : edit the currently selected hunk
1343 e : edit the currently selected hunk
1343 a : toggle amend mode, only with commit -i
1344 a : toggle amend mode, only with commit -i
@@ -1582,6 +1583,9 b' are you sure you want to review/edit and'
1582 self.helpwindow()
1583 self.helpwindow()
1583 self.stdscr.clear()
1584 self.stdscr.clear()
1584 self.stdscr.refresh()
1585 self.stdscr.refresh()
1586 elif curses.unctrl(keypressed) in ["^L"]:
1587 # scroll the current line to the top of the screen
1588 self.scrolllines(self.selecteditemstartline)
1585
1589
1586 def main(self, stdscr):
1590 def main(self, stdscr):
1587 """
1591 """
General Comments 0
You need to be logged in to leave comments. Login now