From 7b1f4d435bedecc49abc3f935bd97dc997a41977 Mon Sep 17 00:00:00 2001 From: Felix Date: Sun, 26 May 2024 15:28:05 +0200 Subject: [PATCH] Solve issues with atomic copy (#867) --- 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 bbbae0f..6c79913 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;