aboutsummaryrefslogtreecommitdiff
path: root/src/screen.h
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-02-18 13:26:59 -0500
committerB. Watson <urchlay@slackware.uk>2026-02-18 13:26:59 -0500
commite05376aefc6b342859e8cddf9eca647dc61c3336 (patch)
treee52de6d8717bf549aa4c91b44b4d2297711f821e /src/screen.h
parent48feffd829f30d393b39ae1cbdc7bf3eddca7652 (diff)
downloadfujinet-chat-e05376aefc6b342859e8cddf9eca647dc61c3336.tar.gz
More work...
Diffstat (limited to 'src/screen.h')
-rw-r--r--src/screen.h8
1 files changed, 7 insertions, 1 deletions
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. */