From 1144e131253f4289dcfb8ae6fda0763487c9dfbe Mon Sep 17 00:00:00 2001 From: Arthur Sonzogni Date: Sun, 30 Mar 2025 01:22:17 +0100 Subject: [PATCH] Apply @forworldm code review. (#1022) See: https://github.com/ArthurSonzogni/FTXUI/pull/1021?notification_referrer_id=NT_kwDOAEieQrMxNTU3OTg4MDA1MDo0NzU5MTA2#discussion_r2019827970 --- src/ftxui/dom/node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ftxui/dom/node.cpp b/src/ftxui/dom/node.cpp index f17631bb..e610a2fb 100644 --- a/src/ftxui/dom/node.cpp +++ b/src/ftxui/dom/node.cpp @@ -145,7 +145,7 @@ void Render(Screen& screen, Node* node, Selection& selection) { // https://github.com/microsoft/terminal/issues/1203 // https://github.com/microsoft/terminal/issues/3093 && - !node->requirement().focused.cursor_shape == Screen::Cursor::Shape::Hidden + node->requirement().focused.cursor_shape != Screen::Cursor::Shape::Hidden #endif ) { screen.SetCursor(Screen::Cursor{