From c72d1a8677c954a554d129f3375dd6b6a6762a04 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 22 Apr 2025 18:54:11 +0200 Subject: [PATCH] fixed print pointer magic --- device/textstream.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/device/textstream.cc b/device/textstream.cc index 0f06aeb..06e14d9 100644 --- a/device/textstream.cc +++ b/device/textstream.cc @@ -9,14 +9,12 @@ TextStream::TextStream(unsigned from_col, to_col_(80), from_row_(0), to_row_(25), - use_cursor_(false) - -{} + use_cursor_(0){} void TextStream::flush() { for (unsigned i=0; i <= pos; i++) { - //print(buffer[i]); + print(&buffer[i],1); } pos = 0;