diff mercurial/win32.py @ 12689:c52c629ce19e

termwidth: move to ui.ui from util
author Augie Fackler <durin42@gmail.com>
date Sun, 10 Oct 2010 10:06:36 -0500
parents 4cdaf1adafc8
children bf826c0b9537
line wrap: on
line diff
--- a/mercurial/win32.py	Thu Oct 07 23:34:21 2010 -0500
+++ b/mercurial/win32.py	Sun Oct 10 10:06:36 2010 -0500
@@ -181,7 +181,7 @@
     pid =  win32process.GetCurrentProcessId()
     win32gui.EnumWindows(callback, pid)
 
-def termwidth_():
+def termwidth():
     try:
         # Query stderr to avoid problems with redirections
         screenbuf = win32console.GetStdHandle(win32console.STD_ERROR_HANDLE)