mercurial/ui.py
changeset 30314 365812902904
parent 30310 5c379b1f56c7
child 30332 318a24b52eeb
--- 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?