From bef8f7642bc23ac3a7faa1f048f8f104c1f6c4dd Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Sun, 1 Nov 2015 11:22:07 -0500 Subject: [PATCH] coco3: vt: more flesh-out of vtattr_notify(). --- Kernel/platform-coco3/devtty.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Kernel/platform-coco3/devtty.c b/Kernel/platform-coco3/devtty.c index 9ec18ff8..df7daef9 100644 --- a/Kernel/platform-coco3/devtty.c +++ b/Kernel/platform-coco3/devtty.c @@ -456,8 +456,7 @@ void platform_interrupt(void) void vtattr_notify(void) { - curpty->attr += 1; - + curpty->attr = ((vtink&7)<<3) + (vtpaper&7); } int gfx_ioctl(uint8_t minor, uarg_t arg, char *ptr) -- 2.34.1