changeset 12689 | c52c629ce19e |
parent 12401 | 4cdaf1adafc8 |
child 12938 | bf826c0b9537 |
--- 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)