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:
Jørn Gustav Larsen 2024-04-03 14:15:18 +02:00
parent 384e726b31
commit ad8ffe7bc4

View File

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