From d3a19b319e8ecdf111de44ffa9847474301edcbb Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 21 Feb 2026 22:11:10 -0500 Subject: WIP. --- src/screen.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/screen.c') diff --git a/src/screen.c b/src/screen.c index 3e3f5df..b98a26a 100644 --- a/src/screen.c +++ b/src/screen.c @@ -66,10 +66,11 @@ char scr_create(const char *name, char display) { strcpy(scr_names[i], name); scr_status[i] = SCR_INACTIVE; scr_topics[i][0] = '\0'; - if(display) + if(display) { scr_display(i); - else + } else { scr_display(scr_current); + } return i; } } @@ -225,6 +226,14 @@ void scr_print_active(const char *text) { scr_print(scr_active, text); } +void scr_print_server(const char *text) { + scr_print(SCR_SERVER, text); +} + +void scr_print_priv(const char *text) { + scr_print(SCR_SERVER, text); +} + void scr_activate(char s) { if(s != scr_current) { scr_status[s] = SCR_ACTIVE; -- cgit v1.2.3