SIGWINCH support for progress bar
Bug #316357 reported by
Per Johansson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Wishlist
|
Vincent Ladeuil | ||
Bug Description
Bordercase that I should even report it, but I tend to resize my terminals a lot, and when going from bigger to smaller the progress bar messes up the terminal a bit. Would be great if you could add SIGWINCH support for the progress bar, so it adjusts when the terminal size changes
Related branches
lp:~vila/bzr/316357-SIGWINCH
- Martin Pool: Needs Fixing
- Martin Packman (community): Needs Fixing
-
Diff: 75 lines (+23/-6)3 files modifiedNEWS (+3/-0)
bzrlib/osutils.py (+15/-0)
bzrlib/ui/text.py (+5/-6)
lp:~vila/bzr/integration
- Vincent Ladeuil: Approve
-
Diff: 31 lines (+4/-4)2 files modifiedbzrlib/lazy_regex.py (+3/-3)
doc/en/release-notes/bzr-2.7.txt (+1/-1)
Changed in bzr: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
tags: | added: progress |
Changed in bzr: | |
assignee: | nobody → Vincent Ladeuil (vila) |
status: | Triaged → Fix Committed |
milestone: | none → 2.1.0rc1 |
Changed in bzr: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.