ftxui::Loop
loop.hpp
ScreenInteractive * ScreenInteractive* screen_ screen_ ftxui::Loop::screen_
Component Component component_ component_ ftxui::Loop::component_
Loop
(ScreenInteractive *screen, Component component)
Loop
ftxui::Loop::Loop
ScreenInteractive * screen
Component component

A Loop is a wrapper around a Component and a ScreenInteractive. It is used to run a Component in a terminal.

Component, ScreenInteractive.

ScreenInteractive::Loop().

ScreenInteractive::ExitLoop().

screen

The screen to use.

component

The component to run.

~Loop
()
~Loop
ftxui::Loop::~Loop
bool bool HasQuitted () HasQuitted ftxui::Loop::HasQuitted

Whether the loop has quitted.

void void RunOnce () RunOnce ftxui::Loop::RunOnce

Execute the loop. Make the `component` to process every pending tasks/events. A new frame might be drawn if the previous was invalidated. Return true until the loop hasn't completed.

void void RunOnceBlocking () RunOnceBlocking ftxui::Loop::RunOnceBlocking

Wait for at least one event to be handled and execute `Loop::RunOnce()`.

void void Run () Run ftxui::Loop::Run

Execute the loop, blocking the current thread, up until the loop has quitted.

Loop
(const Loop &)=default
Loop
ftxui::Loop::Loop
const Loop &
Loop
(Loop &&)=delete
Loop
ftxui::Loop::Loop
Loop &&
Loop & Loop & operator= (Loop &&)=delete operator= ftxui::Loop::operator= Loop &&
Loop
(const ScreenInteractive &)=delete
Loop
ftxui::Loop::Loop
const ScreenInteractive &
Loop & Loop & operator= (const Loop &)=delete operator= ftxui::Loop::operator= const Loop &
- ftxui::Loop
  component_
- ftxui::Loop
  HasQuitted
- ftxui::Loop
  Loop
- ftxui::Loop
  Loop
- ftxui::Loop
  Loop
- ftxui::Loop
  Loop
- ftxui::Loop
  operator=
- ftxui::Loop
  operator=
- ftxui::Loop
  Run
- ftxui::Loop
  RunOnce
- ftxui::Loop
  RunOnceBlocking
- ftxui::Loop
  screen_
- ftxui::Loop
  ~Loop