changeset 43506 | 9f70512ae2cf |
parent 43480 | 667f56d73ceb |
child 45824 | 9ac96b9fa76e |
--- a/mercurial/scmposix.py Sun Nov 10 07:30:14 2019 -0800 +++ b/mercurial/scmposix.py Fri Nov 08 11:19:20 2019 -0800 @@ -84,7 +84,7 @@ if not os.isatty(fd): continue arri = fcntl.ioctl(fd, TIOCGWINSZ, b'\0' * 8) - height, width = array.array(r'h', arri)[:2] + height, width = array.array('h', arri)[:2] if width > 0 and height > 0: return width, height except ValueError: