Set sensible colours on startup and notify the platform code so it can set up
the correct properties.
Also do a notify on a vt switch as the attributes are per vt.
static uint8_t vtmode;
uint8_t vtattr;
-uint8_t vtink;
+uint8_t vtink = 7;
uint8_t vtpaper;
static signed char cursorx;
static signed char cursory = VT_INITIAL_LINE;
void vtinit(void)
{
vtmode = 0;
+ vtattr_notify();
clear_lines(0, VT_BOTTOM + 1);
cursor_on(0, 0);
}
cursorx = vt->cursorx;
cursory = vt->cursory;
ncursory = vt->ncursory;
+ vtattr_notify();
}
#endif