diff options
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r-- | mbbsd/stuff.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c index 95030ce6..9c0be5ed 100644 --- a/mbbsd/stuff.c +++ b/mbbsd/stuff.c @@ -414,7 +414,10 @@ show_file(const char *filename, int y, int lines, int mode) clrtoln(lines + y); if ((fp = fopen(filename, "r"))) { while (fgets(buf, sizeof(buf), fp) && lines--) + { + move(y++, 0); outs(Ptt_prints(buf, sizeof(buf), mode)); + } fclose(fp); outs(ANSI_RESET); // prevent some broken Welcome file } else |