vt: don't vanish the cursor on vt switches
authorAlan Cox <alan@linux.intel.com>
Tue, 16 Dec 2014 23:13:30 +0000 (23:13 +0000)
committerAlan Cox <alan@linux.intel.com>
Tue, 16 Dec 2014 23:13:30 +0000 (23:13 +0000)
This will need revisiting because the vt implementations mostly keep a single
'what was under the cursor' and 'cursor address'. We may need to make these
live in a standard place and save them too.

Kernel/vt.c

index 901e413..bd2e799 100644 (file)
@@ -193,7 +193,6 @@ void vtinit(void)
 
 void vt_save(struct vt_switch *vt)
 {
-       cursor_off();
        vt->vtmode = vtmode;
        vt->cursorx = cursorx;
        vt->cursory = cursory;
@@ -206,7 +205,6 @@ void vt_load(struct vt_switch *vt)
        cursorx = vt->cursorx;
        cursory = vt->cursory;
        ncursory = vt->ncursory;
-       cursor_on(cursory, cursorx);
 }
 #endif