# HG changeset patch # User Barret Rennie # Date 2020-10-31 21:42:31 # Node ID 91c41ea14598cf56d6cb1a160a18a7dbe7a47ae0 # Parent f59c5d9f56b81e3d7cd4bb5d31f527b98513b445 crecord: render chunkpad on Windows (issue6427) When using Windows wrappers of PDCurses (e.g., windows-curses), the chunkpad does not render when executing `hg commit -i`. This is due to attempting to refresh one too many columns of the pad. Differential Revision: https://phab.mercurial-scm.org/D9267 diff --git a/mercurial/crecord.py b/mercurial/crecord.py --- a/mercurial/crecord.py +++ b/mercurial/crecord.py @@ -1250,7 +1250,7 @@ class curseschunkselector(object): self.numstatuslines, 0, self.yscreensize - self.numstatuslines, - self.xscreensize, + self.xscreensize - 1, ) except curses.error: pass