From 4300ae614c713b0831aadf6180f3186e33a86f53 Mon Sep 17 00:00:00 2001 From: Peisong Xiao Date: Sat, 6 Jul 2024 21:04:03 -0400 Subject: [PATCH] try fix for console_output::get_code --- src/console_output.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/console_output.cc b/src/console_output.cc index 4d467bf..43cb24a 100644 --- a/src/console_output.cc +++ b/src/console_output.cc @@ -76,8 +76,8 @@ void console_output::render() { if (idx % DISPLAY_WIDTH == 0 && idx) out << std::endl; - out << get_code(contents[idx]) + - (char)(contents[idx] ? contents[idx] : ' '); + out << get_code(contents[idx]) + << (char)(contents[idx] ? contents[idx] : ' '); } }