Simplify the Render(screen, document) function.

This commit is contained in:
ArthurSonzogni
2020-05-20 21:23:59 +02:00
parent 957387adaa
commit e34f051f7a
27 changed files with 55 additions and 50 deletions

View File

@@ -22,7 +22,7 @@ int main(int argc, const char* argv[]) {
}) |
border;
auto screen = Screen::Create(Dimension::Full(), Dimension::Fit(document));
Render(screen, document.get());
Render(screen, document);
std::cout << screen.ToString() << std::endl;