mercurial/ui.py
changeset 30310 5c379b1f56c7
parent 30309 4b1af1c867fa
child 30314 365812902904
--- a/mercurial/ui.py	Thu Oct 20 21:38:44 2016 +0900
+++ b/mercurial/ui.py	Thu Oct 20 21:42:11 2016 +0900
@@ -822,7 +822,7 @@
                 return int(encoding.environ['COLUMNS'])
             except ValueError:
                 pass
-        return scmutil.termwidth()
+        return scmutil.termwidth(self)
 
     def formatted(self):
         '''should formatted output be used?