From 8c229183170ee65ff1a24e73666ffb7524eaafce Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Tue, 22 Mar 2022 17:11:12 +0100 Subject: [PATCH] Cannot sanely print 0x00 --- console.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/console.cpp b/console.cpp index 7966d09..4212dc6 100644 --- a/console.cpp +++ b/console.cpp @@ -60,7 +60,9 @@ void console::put_char(const char c) { put_char_ll(c); - if (c == 13) + if (c == 0) { + } + else if (c == 13) tx = 0; else if (c == 10) ty++;