mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-20 18:48:08 +08:00
Simplify the Render(screen, document) function.
This commit is contained in:
@@ -23,7 +23,7 @@ int main(int argc, const char* argv[]) {
|
||||
text(L" " + data_downloaded),
|
||||
});
|
||||
auto screen = Screen(100, 1);
|
||||
Render(screen, document.get());
|
||||
Render(screen, document);
|
||||
std::cout << reset_position << screen.ToString() << std::flush;
|
||||
reset_position = screen.ResetPosition();
|
||||
|
||||
|
Reference in New Issue
Block a user