diff options
Diffstat (limited to 'src/screen.h')
| -rw-r--r-- | src/screen.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/screen.h b/src/screen.h index 51bf090..fe8c928 100644 --- a/src/screen.h +++ b/src/screen.h @@ -18,6 +18,9 @@ /* the screen that's currently displaying */ extern char scr_current; +/* the screen that's currently being written to */ +extern char scr_active; + /* which screens are "active". the screen being displayed is never active. any screen that's not visible that's had anything written to it gets marked active. switching the display to an @@ -63,6 +66,8 @@ void scr_refresh(void); returns 0 (the server messages screen) */ char scr_getbyname(const char *name); +void scr_activate_name(const char *name); + /* print one character to a screen. handles scrolling. will not print an EOL at column 0 (just ignores it). */ void scr_putc(char s, char c); @@ -78,6 +83,9 @@ void scr_print_active(const char *text); /* print to the currently-displayed screen */ void scr_print_current(const char *text); +void scr_print_server(const char *text); +void scr_print_priv(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. */ |
