From 545db9259365913f433f21f9c33f278fe96194d2 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 16 Mar 2026 03:06:19 -0400 Subject: Move screen statuses to the right, get rid of <>, add indicators for net activity and most-recent incoming IRC activity. --- src/screen.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/screen.c') diff --git a/src/screen.c b/src/screen.c index e71b5e8..350a60c 100644 --- a/src/screen.c +++ b/src/screen.c @@ -4,6 +4,7 @@ #include "addrs.h" #include "screen.h" #include "edbox.h" +#include "indic8.h" #define SDLST ((u16 *)0x0230) @@ -42,6 +43,8 @@ void scr_init(void) { OS.sdmctl = 0; /* disappear the screen */ + ind_net_status = status_box + 40; + scr_waitvcount(112); /* after the last GR.0 line */ *SDLST = DLIST_BOT_ADDR; OS.chbas = FONT_ADDR_HI; @@ -135,9 +138,9 @@ void scr_show_status(char s) { status_box[1] = ':'; strncpy(status_box + 2, scr_names[s], 32); - p = status_box + 45; + p = status_box + 53; /* up against the right border */ - *p++ = '<'; + // *p++ = '<'; // *p++ = 0xbc; // color2, maybe use? for(i = 0; i < MAX_SCREENS; i++) { sc = i + '1'; @@ -155,7 +158,7 @@ void scr_show_status(char s) { } *p++ = sc; } - *p++ = '>'; + // *p++ = '>'; // *p++ = 0xbe; if(!edbox_visible) { -- cgit v1.2.3