From 766be63c138fca485db87a30acae1527948f1a35 Mon Sep 17 00:00:00 2001 From: dangooddd Date: Tue, 12 Nov 2024 20:34:33 +0300 Subject: [PATCH] Set validated_ on first iteration on ScreenInteractive loop --- src/ftxui/component/screen_interactive.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ftxui/component/screen_interactive.cpp b/src/ftxui/component/screen_interactive.cpp index b49b8b8..bba13bb 100644 --- a/src/ftxui/component/screen_interactive.cpp +++ b/src/ftxui/component/screen_interactive.cpp @@ -932,6 +932,7 @@ void ScreenInteractive::Draw(Component component) { std::cout << ToString() << set_cursor_position; Flush(); Clear(); + validated_ = true; frame_valid_ = true; }