diff options
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r-- | mbbsd/stuff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c index 312b523f..958e34f7 100644 --- a/mbbsd/stuff.c +++ b/mbbsd/stuff.c @@ -359,6 +359,7 @@ vmsg(const char *msg) if (i == pad-1) outc(' '); } + outs(ANSI_RESET); } else { /* msg_pressanykey_trail */ outs(ANSI_COLOR(1;36;44) " กป "); @@ -410,7 +411,7 @@ show_file(const char *filename, int y, int lines, int mode) if (y >= 0) move(y, 0); - clrtoline(lines + y); + clrtoln(lines + y); if ((fp = fopen(filename, "r"))) { while (fgets(buf, sizeof(buf), fp) && lines--) outs(Ptt_prints(buf, sizeof(buf), mode)); |