mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-05-06 06:53:00 +08:00
10 lines
297 B
C++
10 lines
297 B
C++
#include "ftxui/component/component.hpp"
|
|
#include "ftxui/component/screen_interactive.hpp"
|
|
|
|
int main(){
|
|
auto screen = ftxui::ScreenInteractive::Fullscreen();
|
|
auto testComponent = ftxui::Renderer([](){return ftxui::text("test Component");});
|
|
screen.Loop(testComponent);
|
|
return 0;
|
|
}
|