From e05376aefc6b342859e8cddf9eca647dc61c3336 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 18 Feb 2026 13:26:59 -0500 Subject: More work... --- src/screen.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/screen.h') diff --git a/src/screen.h b/src/screen.h index 849133c..51bf090 100644 --- a/src/screen.h +++ b/src/screen.h @@ -22,7 +22,7 @@ extern char scr_current; never active. any screen that's not visible that's had anything written to it gets marked active. switching the display to an active screen clears its active flag. */ -extern char scr_active[MAX_SCREENS]; +extern char scr_status[MAX_SCREENS]; /* call before using any of the other functions. sets up the display list, clears all screen memory, selects screen 0 @@ -72,6 +72,12 @@ void scr_putc(char s, char c); if it's not, it gets marked as active. */ void scr_print(char s, const char *text); +/* print to active screen (set with scr_activate())*/ +void scr_print_active(const char *text); + +/* print to the currently-displayed screen */ +void scr_print_current(const char *text); + /* set a screen's status to active, if it's not the currently-displayed one. scr_print() sets it already, but anything that uses scr_putc() will have to call this. */ -- cgit v1.2.3