mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-19 01:38:08 +08:00
Simplify the Render(screen, document) function.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user