From 66d1c1f61f753d87049eae11d9e11ac18600af86 Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Fri, 16 Aug 2024 11:47:01 +0200 Subject: [PATCH] Quickfix --- src/ftxui/component/screen_interactive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ftxui/component/screen_interactive.cpp b/src/ftxui/component/screen_interactive.cpp index ead776b..12c9caa 100644 --- a/src/ftxui/component/screen_interactive.cpp +++ b/src/ftxui/component/screen_interactive.cpp @@ -603,7 +603,7 @@ void ScreenInteractive::Install() { // Request the terminal to report the current cursor shape. We will restore it // on exit. std::cout << DECRQSS_DECSCUSR; - on_exit_functions.emplace([cursor_reset_shape_ = cursor_reset_shape_] { + on_exit_functions.emplace([this] { std::cout << "\033[?25h"; // Enable cursor. std::cout << "\033[" + std::to_string(cursor_reset_shape_) + " q"; });