aboutsummaryrefslogtreecommitdiff
path: root/src/screen.h
diff options
context:
space:
mode:
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. */