From 3d7484351f5eb7dc2219d170307fbcb83141008e Mon Sep 17 00:00:00 2001 From: Peisong Xiao Date: Sat, 6 Jul 2024 22:00:34 -0400 Subject: [PATCH] added new line to file/console_output::render --- src/console_output.cc | 2 ++ src/file_output.cc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/console_output.cc b/src/console_output.cc index 1ac1746..7a5269d 100644 --- a/src/console_output.cc +++ b/src/console_output.cc @@ -70,6 +70,8 @@ void console_output::render() { out << get_code(contents[idx]) << (char)(contents[idx] ? contents[idx] : ' '); } + + out << std::endl; } void console_output::print_char(const position &pos, const char ch, diff --git a/src/file_output.cc b/src/file_output.cc index f1bc686..4606005 100644 --- a/src/file_output.cc +++ b/src/file_output.cc @@ -12,6 +12,8 @@ void file_output::render() { out << (char)(contents[idx] ? contents[idx] : ' '); } + + out << std::endl; } void file_output::print_char(const position &pos, const char ch,