diff -r 392633d7860e -r 365812902904 mercurial/ui.py --- a/mercurial/ui.py Thu Oct 20 22:57:12 2016 +0900 +++ b/mercurial/ui.py Thu Oct 20 23:09:05 2016 +0900 @@ -822,7 +822,7 @@ return int(encoding.environ['COLUMNS']) except ValueError: pass - return scmutil.termwidth(self) + return scmutil.termsize(self)[0] def formatted(self): '''should formatted output be used?