Mercurial > hg
comparison mercurial/crecord.py @ 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 | 079197e94b24 |
children | a5bba73a1352 |
comparison
equal
deleted
inserted
replaced
50374:4a73df6eb67d | 50375:29d7a5a8b8c6 |
---|---|
1988 self.initcolorpair( | 1988 self.initcolorpair( |
1989 curses.COLOR_WHITE, curses.COLOR_BLUE, name=b"legend" | 1989 curses.COLOR_WHITE, curses.COLOR_BLUE, name=b"legend" |
1990 ) | 1990 ) |
1991 # newwin([height, width,] begin_y, begin_x) | 1991 # newwin([height, width,] begin_y, begin_x) |
1992 self.statuswin = curses.newwin(self.numstatuslines, 0, 0, 0) | 1992 self.statuswin = curses.newwin(self.numstatuslines, 0, 0, 0) |
1993 self.statuswin.keypad(1) # interpret arrow-key, etc. esc sequences | 1993 self.statuswin.keypad(True) # interpret arrow-key, etc. esc sequences |
1994 | 1994 |
1995 # figure out how much space to allocate for the chunk-pad which is | 1995 # figure out how much space to allocate for the chunk-pad which is |
1996 # used for displaying the patch | 1996 # used for displaying the patch |
1997 | 1997 |
1998 # stupid hack to prevent getnumlinesdisplayed from failing | 1998 # stupid hack to prevent getnumlinesdisplayed from failing |