FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
Module component

The ftxui::component module defines the logic that produces interactive components that respond to user events (keyboard, mouse, etc.).

The Example section provides a collection of examples.

A ftxui::ScreenInteractive defines a main loop that renders a component.

A ftxui::Component is a shared pointer to a ftxui::ComponentBase. The latter defines:

ftxui::Element are used to render a single frame.

ftxui::Component are used to render dynamic user interface, producing multiple frame, and updating its state on events.

Gallery of multiple components. (demo)

image

All predefined components are available in "ftxui/dom/component.hpp"