changeset 30322 | 4b1af1c867fa |
parent 29772 | 3df9f780c90e |
child 30323 | 5c379b1f56c7 |
--- a/mercurial/scmwindows.py Sun Nov 06 00:37:50 2016 -0700 +++ b/mercurial/scmwindows.py Thu Oct 20 21:38:44 2016 +0900 @@ -5,6 +5,7 @@ from . import ( osutil, util, + win32, ) try: @@ -51,3 +52,6 @@ path.append(os.path.join(userprofile, 'mercurial.ini')) path.append(os.path.join(userprofile, '.hgrc')) return path + +def termwidth(): + return win32.termwidth()