Hello!

The tinycurses damage detection introduced in libpayload r3579 lead to Bayou not properly redrawing its screen after returning from payloads. The attached patch solves the problem by clearing stdscr directly after returning to Bayou.

Compile and runtime tested with libpayload and coreboot-v3 under QEMU.

/ulf
Bayou: Clean up Bayou's window after returning from a payload.

Signed-off-by: Ulf Jordan <[email protected]>

Index: bayou/menu.c
===================================================================
--- bayou/menu.c        (revision 3950)
+++ bayou/menu.c        (arbetskopia)
@@ -121,6 +121,7 @@
                        selected = (selected - 1) % m_entries;
                else if (key == KEY_ENTER) {
                        run_payload(mpayloads[selected]);
+                       clear();
                        refresh();
                } else
                        continue;
--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to