From 37d5621e41c559b0933a4091ff4859c5bd9d4209 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 25 Mar 2022 10:51:52 -0400 Subject: [PATCH] HULK console: clear last row when shifting rows up --- src/hulk/console.d | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hulk/console.d b/src/hulk/console.d index 20ae9ea..2e7ffbc 100644 --- a/src/hulk/console.d +++ b/src/hulk/console.d @@ -49,6 +49,7 @@ struct console fb.copy_rows_up(fb_y(m_height - 1u), (m_height - 1u) * kfont.line_height, kfont.line_height); + fb.rect(0u, fb_y(m_height - 1u), fb_x(m_width), kfont.line_height, 0u); } }