summaryrefslogtreecommitdiffstats
path: root/motd.c
diff options
context:
space:
mode:
Diffstat (limited to 'motd.c')
-rw-r--r--motd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/motd.c b/motd.c
index 359834b..df26f11 100644
--- a/motd.c
+++ b/motd.c
@@ -8,7 +8,7 @@ int bbs_motd_draw( term_screen *ts, const char *fname )
{
int posc=0, posr=0;
int ret=0;
- const int buf_size=80*25+1;
+ const int buf_size=80*26+1;
char buf[buf_size];
int x=0,y=0;
int row=0,column=0;
@@ -48,6 +48,7 @@ int bbs_motd_draw( term_screen *ts, const char *fname )
}
i++;
}
+ fflush( stdout );
}
}