From d0457826a161a0ab9e36cd65a10ac86a85257e4c Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Wed, 3 Apr 2024 21:28:40 +0200 Subject: [PATCH] Cleanup. --- .gitignore | 1 + README.md | 1 - src/ftxui/component/screen_interactive.cpp | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 67373d640..735ed65b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Ignore all the files, except the ones we expect. # See https://jasonstitt.com/gitignore-whitelisting-patterns * +!*/ # Allowed top-level files: !.clang-format diff --git a/README.md b/README.md index 9ba7ac1a3..881f09465 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ -
Documentation · Report a Bug · diff --git a/src/ftxui/component/screen_interactive.cpp b/src/ftxui/component/screen_interactive.cpp index 2b1c62aba..dc729acb3 100644 --- a/src/ftxui/component/screen_interactive.cpp +++ b/src/ftxui/component/screen_interactive.cpp @@ -841,8 +841,8 @@ void ScreenInteractive::Draw(Component component) { // Set cursor position for user using tools to insert CJK characters. { - int const dx = dimx_ - 1 - cursor_.x + int(dimx_ != terminal.dimx); - int const dy = dimy_ - 1 - cursor_.y; + const int dx = dimx_ - 1 - cursor_.x + int(dimx_ != terminal.dimx); + const int dy = dimy_ - 1 - cursor_.y; set_cursor_position.clear(); reset_cursor_position.clear();