]> git.ozlabs.org Git - petitboot/commitdiff
ui/ncurses: specify a fixed length for status messages
authorJeremy Kerr <jk@ozlabs.org>
Mon, 5 May 2014 03:45:16 +0000 (11:45 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 16 Jul 2014 00:47:46 +0000 (08:47 +0800)
Incoming status messages can be an arbitrary length; if so, the status
line may be corrupt.

This change uses the 'n' variant of mvwaddnstr(), so we only write one
line of characters.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

No differences found