##// END OF EJS Templates
py3: fix handling of ctrl keys in crecord (issue6213)...
Denis Laxalde -
r43796:be0f77fd stable
parent child Browse files
Show More
@@ -59,6 +59,7 b' patchhelptext = _('
59
59
60 try:
60 try:
61 import curses
61 import curses
62 import curses.ascii
62
63
63 curses.error
64 curses.error
64 except ImportError:
65 except ImportError:
@@ -1938,7 +1939,7 b' are you sure you want to review/edit and'
1938 self.helpwindow()
1939 self.helpwindow()
1939 self.stdscr.clear()
1940 self.stdscr.clear()
1940 self.stdscr.refresh()
1941 self.stdscr.refresh()
1941 elif curses.unctrl(keypressed) in ["^L"]:
1942 elif keypressed in [curses.ascii.ctrl("L")]:
1942 # scroll the current line to the top of the screen, and redraw
1943 # scroll the current line to the top of the screen, and redraw
1943 # everything
1944 # everything
1944 self.scrolllines(self.selecteditemstartline)
1945 self.scrolllines(self.selecteditemstartline)
General Comments 0
You need to be logged in to leave comments. Login now