diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-05-05 11:45:16 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-07-16 08:47:46 +0800 |
commit | 71f338ca02092cb75608a511d6885affaf7adb66 (patch) | |
tree | 4df90580b21c402dd974aaa1018fc1de6cae30d0 /ui/ncurses/nc-config.c | |
parent | 49367fdd5034a010a3f7f657f8ad205ebf9a01fe (diff) | |
download | talos-petitboot-71f338ca02092cb75608a511d6885affaf7adb66.tar.gz talos-petitboot-71f338ca02092cb75608a511d6885affaf7adb66.zip |
ui/ncurses: specify a fixed length for status messages
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>
Diffstat (limited to 'ui/ncurses/nc-config.c')
0 files changed, 0 insertions, 0 deletions