##// END OF EJS Templates
py3: convert KEY_PRESSED value to bytes in crecord.py...
Pulkit Goyal -
r42009:25420df8 default
parent child Browse files
Show More
@@ -20,6 +20,7 b' from . import ('
20 encoding,
20 encoding,
21 error,
21 error,
22 patch as patchmod,
22 patch as patchmod,
23 pycompat,
23 scmutil,
24 scmutil,
24 util,
25 util,
25 )
26 )
@@ -1667,6 +1668,7 b' are you sure you want to review/edit and'
1667
1668
1668 Return true to exit the main loop.
1669 Return true to exit the main loop.
1669 """
1670 """
1671 keypressed = pycompat.bytestr(keypressed)
1670 if keypressed in ["k", "KEY_UP"]:
1672 if keypressed in ["k", "KEY_UP"]:
1671 self.uparrowevent()
1673 self.uparrowevent()
1672 if keypressed in ["K", "KEY_PPAGE"]:
1674 if keypressed in ["K", "KEY_PPAGE"]:
General Comments 0
You need to be logged in to leave comments. Login now