vt: fix backup over start of line
authorAlan Cox <alan@linux.intel.com>
Sat, 30 May 2015 02:02:42 +0000 (03:02 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 30 May 2015 02:02:42 +0000 (03:02 +0100)
Kernel/vt.c

index 1605c2d..1329df0 100644 (file)
@@ -51,7 +51,7 @@ static signed char ncursory;
 static void cursor_fix(void)
 {
        if (cursorx < 0) {
-               cursorx = 0;
+               cursorx = VT_RIGHT;
                cursory--;
        }
        if (cursory < 0)