[PATCH][win32] obtain terminal width on windows console

John Arbash Meinel john at arbash-meinel.com
Sun Apr 30 21:15:36 BST 2006

Alexander Belchenko wrote:
> Attached patch adds functionality to obtain terminal width on windows
> console. Module bzrlib.win32console is already here, I'm slightly change
>  this module to avoid problem with redirecting output and calling
> function win32console.get_sonsole_size() from osutils.terminal_width().
> -- 
> Alexander

This seems reasonable to me. I wonder if we don't want to use the same
functionality for cygwin. Though I also wonder if the other stdio patch
works there.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060430/80744b23/attachment.pgp 

More information about the bazaar mailing list