vt.c: add vtattr_notify() platform call.
authorBrett Gordon <beretta42@gmail.com>
Sun, 1 Nov 2015 15:24:37 +0000 (10:24 -0500)
committerBrett Gordon <beretta42@gmail.com>
Sun, 1 Nov 2015 16:41:08 +0000 (11:41 -0500)
Kernel/vt.c

index 0e13506..48390ac 100644 (file)
@@ -243,17 +243,20 @@ void vtoutput(unsigned char *p, unsigned int len)
                                if (ncursorx >= 0 && ncursorx <= VT_RIGHT)
                                        cursorx = ncursorx;
                                        vtmode = 0;
-                       } else if (vtmode == 4{
+                       } else if (vtmode == 4 ){
                                vtattr = c;
                                vtmode = 0;
+                               vtattr_notify();
                                continue;
                        } else if (vtmode == 5) {
                                vtink = c;
                                vtmode = 0;
+                               vtattr_notify();
                                continue;
                        } else if (vtmode == 6) {
                                vtpaper = c;
                                vtmode = 0;
+                               vtattr_notify();
                                continue;
                        }
                }