crecord: switch a curses argument to bool to appease type checkers
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 01 Mar 2023 11:53:31 -0500
changeset 50375 29d7a5a8b8c6
parent 50374 4a73df6eb67d
child 50376 1c7453f2bb57
crecord: switch a curses argument to bool to appease type checkers
mercurial/crecord.py
--- a/mercurial/crecord.py	Wed Mar 01 11:45:57 2023 -0500
+++ b/mercurial/crecord.py	Wed Mar 01 11:53:31 2023 -0500
@@ -1990,7 +1990,7 @@
         )
         # newwin([height, width,] begin_y, begin_x)
         self.statuswin = curses.newwin(self.numstatuslines, 0, 0, 0)
-        self.statuswin.keypad(1)  # interpret arrow-key, etc. esc sequences
+        self.statuswin.keypad(True)  # interpret arrow-key, etc. esc sequences
 
         # figure out how much space to allocate for the chunk-pad which is
         # used for displaying the patch