]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
knotty: Enforce terminal line limit to stop crazy scrolling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Dec 2015 18:26:57 +0000 (18:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Dec 2015 10:29:37 +0000 (10:29 +0000)
commit67b77658e2bfa849f6f55c9c262cb11d6bfdb399
tree83d6f09ab43b500651811c25c55e347a0f77dacb
parentf0a9e783f9969573fd74edfa241ef14f18ac684e
knotty: Enforce terminal line limit to stop crazy scrolling

If there are more tasks running than there are lines on the terminal, the data
scrolls in ways the UI wasn't designed for. This patch adjusts the UI just to
show the processes which fit onto the number of rows in the terminal window.
You can see the total number running from the counter in the top left as usual
and this makes warning and errors messages scrolling from the top of the window
work as designed.

Ultimately, scrolling would be nice but is for another time, this fixes the
biggest UI issue on highly parallel machines.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/ui/knotty.py