Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurSonzogni committed Apr 3, 2024
1 parent ad8ffe7 commit d045782
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<img src="https://codecov.io/gh/ArthurSonzogni/FTXUI/branch/master/graph/badge.svg?token=C41FdRpNVA"/>
</a>


<br/>
<a href="https://arthursonzogni.github.io/FTXUI/">Documentation</a> ·
<a href="https://github.com/ArthurSonzogni/FTXUI/issues">Report a Bug</a> ·
Expand Down
4 changes: 2 additions & 2 deletions src/ftxui/component/screen_interactive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d045782

Please sign in to comment.