diff options
Diffstat (limited to 'src/screen.c')
| -rw-r--r-- | src/screen.c | 13 |
1 files changed, 11 insertions, 2 deletions
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; |
