Skip to content

Commit

Permalink
[PATCH] fbcon: Fix screen artifacts when moving cursor
Browse files Browse the repository at this point in the history
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 <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
adaplas authored and Linus Torvalds committed Feb 1, 2006
1 parent fa385be commit 9477e26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/vt.c
Expand Up @@ -3213,6 +3213,7 @@ void getconsxy(struct vc_data *vc, unsigned char *p)

void putconsxy(struct vc_data *vc, unsigned char *p)
{
hide_cursor(vc);
gotoxy(vc, p[0], p[1]);
set_cursor(vc);
}
Expand Down

0 comments on commit 9477e26

Please sign in to comment.