changeset 50375:29d7a5a8b8c6

crecord: switch a curses argument to bool to appease type checkers
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 01 Mar 2023 11:53:31 -0500
parents 4a73df6eb67d
children 1c7453f2bb57
files mercurial/crecord.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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