[coreboot] [PATCH] Bayou: clear screen after returning from payload
Ulf Jordan
jordan at chalmers.se
Mon Feb 16 22:56:55 CET 2009
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
-------------- next part --------------
Bayou: Clean up Bayou's window after returning from a payload.
Signed-off-by: Ulf Jordan <jordan at chalmers.se>
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;
More information about the coreboot
mailing list