ftxui::ScreenInteractive
cpp
#include <ftxui/component/screen_interactive.hpp>Inherits from: ftxui::Screen
Examples: component/button, component/canvas_animated, component/checkbox, component/checkbox_in_frame, component/collapsible, component/composition, component/dropdown, component/flexbox_gallery, component/focus, component/gallery, component/homescreen, component/input (+20 more)
Summary
| Symbol | Description |
|---|---|
Callback | |
FixedSize | |
Fullscreen | |
FitComponent | |
TerminalOutput | |
Loop | |
ExitLoopClosure | |
PostEvent | |
CaptureMouse | |
WithRestoredIO | Decorate a function. It executes the same way, but with the currently active screen terminal hooks temporarilly uninstalled during its execution. |
Public Types
Callback
cpp
using Callback = std::function< void()>;Static Functions
FixedSize
cpp
static ScreenInteractive FixedSize(int dimx, int dimy);Fullscreen
cpp
static ScreenInteractive Fullscreen();FitComponent
cpp
static ScreenInteractive FitComponent();TerminalOutput
cpp
static ScreenInteractive TerminalOutput();Public Member Functions
Loop
ExitLoopClosure
cpp
Callback ExitLoopClosure();PostEvent
CaptureMouse
cpp
CapturedMouse CaptureMouse();WithRestoredIO
Decorate a function. It executes the same way, but with the currently active screen terminal hooks temporarilly uninstalled during its execution.
Parameters:
fn: The function to decorate.