All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] term: Defer configfile clear on inactive output terminals
@ 2026-10-20 12:49 Sean Rhodes
  2026-10-20 12:49 ` [PATCH 1/2] term: Defer configfile clear per output terminal Sean Rhodes
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sean Rhodes @ 2026-10-20 12:49 UTC (permalink / raw)
  To: grub-devel

A configfile can run before its target has selected visible output. On EFI,
clearing immediately activates text mode and erases the firmware splash even
when the target proceeds with a hidden-menu autoboot.

Defer the clear on inactive output terminals until they prepare for visible
output. Active terminals retain the existing immediate-clear behaviour. The
second patch adds functional coverage for silent and nested configfiles,
subsequent output, multiple terminals, explicit clears, empty output, and
verbose sleep cursor ordering.

Sean Rhodes (2):
  term: Defer configfile clear per output terminal
  tests: Exercise deferred configfile clear

Sean Rhodes (2):
  term: Defer configfile clear per output terminal
  tests: Exercise deferred configfile clear

 grub-core/Makefile.core.def           |   5 +
 grub-core/commands/configfile.c       |   3 +-
 grub-core/commands/sleep.c            |   4 +
 grub-core/normal/term.c               |  35 +++
 grub-core/term/efi/console.c          |  19 ++
 grub-core/tests/deferred_clear_test.c | 317 ++++++++++++++++++++++++++
 grub-core/tests/lib/functional_test.c |   1 +
 include/grub/term.h                   |  11 +
 8 files changed, 394 insertions(+), 1 deletion(-)
 create mode 100644 grub-core/tests/deferred_clear_test.c


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-20 18:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-20 12:49 [PATCH 0/2] term: Defer configfile clear on inactive output terminals Sean Rhodes
2026-10-20 12:49 ` [PATCH 1/2] term: Defer configfile clear per output terminal Sean Rhodes
2026-10-20 12:49 ` [PATCH 2/2] tests: Exercise deferred configfile clear Sean Rhodes
2026-10-20 18:40 ` [PATCH 0/2] term: Defer configfile clear on inactive output terminals Leo Sandoval via Grub-devel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.