[rfc] don't show at all non-flashing progress bar?

Alexander Belchenko bialix at ukr.net
Tue Jun 27 20:16:56 BST 2006


John A Meinel пишет:
Alexander Belchenko wrote:
>> John A Meinel пишет:
> 
> ....
> 
>> Yes and no. But if progress bar yet don't print anything? If you run
>> some fast operation, per example:
>>
>> bzr init a
>> cd a
>> echo spam > spam
>> bzr add
>> bzr diff 2>stderr
>>
>> And then see to stderr file you'll see file full of spaces and '\r' and
>> no actual progress bar.
>>
>> So I talk actually about situation when progress bar yet not printed
>> (first seconds). This is very new improvement introduced by Aaron. And
>> it great. But incomplete.
>>
>> -- 
>> Alexander
> 
> 
> Okay, this comes from the .clear() call. I guess we could just keep a
> flag to see if we have actually written anything, and if not, clear()
> shouldn't write anything. Sounds reasonable to me.

For me too.

--
Alexander





More information about the bazaar mailing list