// Copyright 2025 Arthur Sonzogni. All rights reserved. // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. #include #include #include #include int main() { using namespace ftxui; auto screen = ScreenInteractive::TerminalOutput(); auto component = Button("Quit", screen.ExitLoopClosure()); screen.Loop(component); return 0; }