]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[PATCH] fbcon: Fix screen artifacts when moving cursor
authorAntonino A. Daplas <adaplas@gmail.com>
Wed, 1 Feb 2006 11:06:52 +0000 (03:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:26 +0000 (08:53 -0800)
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>
drivers/char/vt.c

index f1d9cb7feae65c7e54edadec884b1636424608e7..0900d1dbee59916e28bd60b7cb650cea7d9a3b41 100644 (file)
@@ -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);
 }