20Loop::Loop(App* screen,
Component component)
21 : screen_(screen), component_(std::move(component)) {
30bool Loop::HasQuitted() {
31 return screen_->HasQuitted();
38 screen_->RunOnce(component_);
43void Loop::RunOnceBlocking() {
44 screen_->RunOnceBlocking(component_);
50 while (!HasQuitted()) {
The FTXUI ftxui:: namespace.
std::shared_ptr< ComponentBase > Component