From 63597fab346410974053294ec8f7103490b79ff5 Mon Sep 17 00:00:00 2001 From: gbc dev Date: Wed, 15 Jul 2026 10:33:48 +0200 Subject: render: no status line in sixel mode (pure graphics output only) In --sixel mode the emulator drew a status line (title/skip/[f]ast/q:quit) under the image; drop it so sixel output is nothing but the game graphics. --- src/render.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/render.c') diff --git a/src/render.c b/src/render.c index 2320f02..76a4ad0 100644 --- a/src/render.c +++ b/src/render.c @@ -182,12 +182,8 @@ static void render_frame_sixel(GB *gb) { } o += sprintf(o, "\x1b\\"); // ST: end sixel - // status line just below the image - o += sprintf(o, "\r\n\x1b[38;2;150;150;150m %.*s skip:%d%s " - "[f]ast [ ][ ] q:quit\x1b[0m\x1b[K", - 12, gb->cart.title, hud_frameskip, - hud_turbo ? " TURBO" : ""); - + // In sixel mode we emit only the graphics - no status line / HUD text, so + // the terminal shows nothing but the game image. need_full = false; fwrite(sixel_buf, 1, o - sixel_buf, stdout); fflush(stdout); -- cgit v1.3.1-sl0p