From 6a58cb06a93c4cdc3dcc0853b4d2511bf5dab173 Mon Sep 17 00:00:00 2001 From: FELIX Date: Fri, 24 May 2024 17:11:11 +0200 Subject: [PATCH] Solve issues with atomic copy --- include/ftxui/component/screen_interactive.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ftxui/component/screen_interactive.hpp b/include/ftxui/component/screen_interactive.hpp index bbbae0fe..6c799136 100644 --- a/include/ftxui/component/screen_interactive.hpp +++ b/include/ftxui/component/screen_interactive.hpp @@ -109,7 +109,7 @@ class ScreenInteractive : public Screen { std::string set_cursor_position; std::string reset_cursor_position; - std::atomic quit_ = false; + std::atomic quit_{false}; std::thread event_listener_; std::thread animation_listener_; bool animation_requested_ = false;