From 152ed507fdb1e0587eb74d08f9b52a2862bb2701 Mon Sep 17 00:00:00 2001 From: Eggert Jung Date: Fri, 18 Apr 2025 23:34:09 +0200 Subject: [PATCH] add reset --- arch/textwindow.cc | 6 ++++-- main.cc | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/textwindow.cc b/arch/textwindow.cc index 66f4c95..67d942b 100644 --- a/arch/textwindow.cc +++ b/arch/textwindow.cc @@ -61,6 +61,8 @@ void TextWindow::print(const char* str, size_t length, CGA::Attribute attrib) { } void TextWindow::reset(char character, CGA::Attribute attrib) { - (void)character; - (void)attrib; + for(unsigned i=from_row; i