Comment 2 for bug 316357

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 316357] [NEW] SIGWINCH support for progress bar

On Mon, 2009-01-12 at 22:17 +0000, Martin Pool wrote:
> There are other parts like log --line that also know about the
> terminal width. We probably want a cache of the width after it's been
> seen, and to update that from sigwinch.

I suggest a callback code inside bzrlib can register for, which the
signal handler can trigger.

-Rob

--
GPG key available at: <http://www.robertcollins.net/keys.txt>.