added new line to file/console_output::render
This commit is contained in:
@ -70,6 +70,8 @@ void console_output::render() {
|
|||||||
out << get_code(contents[idx])
|
out << get_code(contents[idx])
|
||||||
<< (char)(contents[idx] ? contents[idx] : ' ');
|
<< (char)(contents[idx] ? contents[idx] : ' ');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
out << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
void console_output::print_char(const position &pos, const char ch,
|
void console_output::print_char(const position &pos, const char ch,
|
||||||
|
@ -12,6 +12,8 @@ void file_output::render() {
|
|||||||
|
|
||||||
out << (char)(contents[idx] ? contents[idx] : ' ');
|
out << (char)(contents[idx] ? contents[idx] : ' ');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
out << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
void file_output::print_char(const position &pos, const char ch,
|
void file_output::print_char(const position &pos, const char ch,
|
||||||
|
Reference in New Issue
Block a user