This commit is contained in:
ArthurSonzogni 2024-04-03 21:28:40 +02:00
parent ad8ffe7bc4
commit d0457826a1
No known key found for this signature in database
GPG Key ID: 41D98248C074CD6C
3 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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> ·

View File

@ -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();