random thought of the day - a progress bar for tree transforms ?
John A Meinel
john at arbash-meinel.com
Wed Feb 15 01:16:48 GMT 2006
Robey Pointer wrote:
>
> On 14 Feb 2006, at 8:57, Aaron Bentley wrote:
>
>> On the plus side, we all seem to agree that nested progress bars would
>> be nice. On the minus side, no one's actually done it yet...
>
> Since there was a tiny bit of usefulness to come out of my playing
> around this morning, I'm attaching it.
>
> This makes progress bar width-detection work again on posix (it was
> always dropping to the default of 80 columns on my ibook) and renames
> the "copy_to" bar to "copy" ("copy_to" is inscrutable to users,
> including me).
>
> The patch is against Robert's "unit tests use progress bars" branch, but
> I suspect it will apply cleanly to any branch that's recently merged
> jam-integration.
>
> robey
Should we use os.environ['COLUMNS'] preferentially to using your very
odd construct?
It seems like your method should override COLUMNS (thus come first).
Since it seems like it would be more guaranteed to be correct if we can
get it.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060214/d96b2bbe/attachment.pgp
More information about the bazaar
mailing list