fbcon: Fix screen artifacts when moving cursor
PATCH 1/1 fbcon: Fix screen artifacts when moving cursor
When moving the cursor by writing to /dev/vcs*, the old cursor image is not erased. Fix by hiding the cursor first before moving the cursor to the new position.
Signed-off-by Antonino Daplas <[email protected]>
---
drivers/char/vt.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/char/vt.c +1 -0
@@ -3213,6 +3213,7 @@ void getconsxy(struct vc_data *vc, unsigvoid putconsxy (struct vc_data *vc,unsigned char *p) { +hide_cursor (vc);gotoxy (vc, p[0 ], p[1 ]);set_cursor (vc); }