From c130823db7447471183552a3ce3f6117041591c3 Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Thu, 29 Oct 2015 14:44:08 -0400 Subject: [PATCH] coco3: video: make text cursor a inverted block. --- Kernel/platform-coco3/video.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Kernel/platform-coco3/video.c b/Kernel/platform-coco3/video.c index 1072ec08..20b88534 100644 --- a/Kernel/platform-coco3/video.c +++ b/Kernel/platform-coco3/video.c @@ -44,9 +44,9 @@ void cursor_off(void) void cursor_on(int8_t y, int8_t x) { map_for_video(); - curpty->csave = *char_addr(y, x); - curpty->cpos = char_addr(y, x); - *curpty->cpos = VT_MAP_CHAR('_'); + curpty->csave = *(char_addr(y, x)+1); + curpty->cpos = char_addr(y, x)+1; + *curpty->cpos = *curpty->cpos ^ 0x3f; map_for_kernel(); } -- 2.34.1