mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-06-25 00:52:09 +08:00
Reintroduced the extra move back on the x-axis, if we are not at the edge of the screen. This seems to make all the different input and screen types work again.
This commit is contained in:
parent
384e726b31
commit
ad8ffe7bc4
@ -841,7 +841,7 @@ void ScreenInteractive::Draw(Component component) {
|
|||||||
|
|
||||||
// Set cursor position for user using tools to insert CJK characters.
|
// Set cursor position for user using tools to insert CJK characters.
|
||||||
{
|
{
|
||||||
int const dx = dimx_ - 1 - cursor_.x;
|
int const dx = dimx_ - 1 - cursor_.x + int(dimx_ != terminal.dimx);
|
||||||
int const dy = dimy_ - 1 - cursor_.y;
|
int const dy = dimy_ - 1 - cursor_.y;
|
||||||
|
|
||||||
set_cursor_position.clear();
|
set_cursor_position.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user