[PATCH] ui/ncurses: Periodically refresh display
Jeremy Kerr
jk at ozlabs.org
Wed Jul 19 11:49:27 AEST 2017
Hi Sam,
> So I found out in testing this breaks the user experience in a hilarious
> way - I may do a v2 on some UI refactoring I have going on in the
> background, which will be neater and should avoid this issue.
One other option would be to:
- only start the interactive UI when input is received
- before that, we just print the petitboot logs (possibly without
ncurses), and possibly a 'hit any key' message
The advantage of this is that the ncurses startup doesn't happen until
there is an actual terminal connected, which can be queried for its
capabilities & size.
Cheers,
Jeremy
More information about the Petitboot
mailing list