Progress extension, windows and carriage return

Augie Fackler durin42 at gmail.com
Mon Apr 26 10:50:03 CDT 2010


I think my preferred solution would be to make termwidth just always
return termwidth-1 on windows and move on, or make termwidth return
termwidth-1 everywhere. It's simpler and doesn't make my head spin.

That said, if win32 people think they can do better, I'm not opposed.

On Mon, Apr 26, 2010 at 3:17 AM, Andrei Vermel <andrei.vermel at gmail.com> wrote:
> On 26.04.2010 11:55, Patrick Mézard wrote:
>>
>> Right now, mixing hgsubversion with progress on windows is a bit annoying
>> because progress causes empty lines to be displayed before converted status
>> lines. I thought it was related to termwidth() but in fact this comes from a
>> difference in the way unix consoles and cmd.exe deal with carriage return.
>> Here is a test script mimicking how progress works:
>>
>
> Actually, rebase shows these empty lines as well.
>
> Andrei
>


More information about the Mercurial-devel mailing list