]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: knotty2: Handle long lines of text and terminal window size changes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Aug 2012 16:00:40 +0000 (17:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Aug 2012 10:19:03 +0000 (11:19 +0100)
commitc49a2529bffc38b4a1f40ccaccc578022b1517b1
tree69aa2193eebf3929f5bcf762e110384a57e2736d
parent2718537b4b04eb3d80ab4d74171b58e7b8dd68b8
bitbake: knotty2: Handle long lines of text and terminal window size changes

Long lines of text which wrapped on the terminal corrupted the output shown by
knotty2. This patch catches such errors by becomming aware of the terminal size.

It also catches terminal window size change events and adapting to those
changes using a signal handler.

Based on a patch from Jason Wessel with several tweaks and enhancements
such as use of chained signal handlers and covering all output messages.

(Bitbake rev: 9afc9e4d14abec5ac326851d4bb689c1e8d45a43)

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