mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-18 17:00:26 +00:00
os: fix 'CUU' terminal command
Decrement the y position to move the cursor up. Fixes #3379
This commit is contained in:
parent
d417d26ce8
commit
f99a1d78bb
@ -318,7 +318,7 @@ class Char_cell_array_character_screen : public Terminal::Character_screen
|
||||
{
|
||||
Cursor_guard guard(*this);
|
||||
|
||||
_cursor_pos.x += dy;
|
||||
_cursor_pos.y -= dy;
|
||||
_cursor_pos.y = Genode::max(0, _cursor_pos.y);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user