From fece7081bdd1e5b45a1608317277a944ce44f4ac Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Sun, 18 Oct 2026 13:29:01 +0100 Subject: [PATCH] Clear terminal screen and scrollback on emulator startup --- interrupts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interrupts.c b/interrupts.c index 8ceabe5..9c4ed28 100644 --- a/interrupts.c +++ b/interrupts.c @@ -6080,8 +6080,8 @@ static void bios_video_initialize (void) { bios_video_initialized = 1; - /* The BIOS text screen starts blank; remove any previous host output. */ - fputs ("\033[2J\033[H", stdout); + /* Start with a clean DOS text screen instead of retaining host scrollback. */ + fputs ("\033[2J\033[3J\033[H", stdout); fflush (stdout); } -- 2.34.1