summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-25 10:12:33 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-25 10:12:33 +0800
commitb04400b441add0a7373a94df5d32ce512ada1b10 (patch)
tree8452f22f289d568b19dc3cafa8791ef9ee069b85 /mbbsd/bbs.c
parent51b7ba487e8f9e8a8a45c6c29aa6a125196b2987 (diff)
downloadpttbbs-b04400b441add0a7373a94df5d32ce512ada1b10.tar
pttbbs-b04400b441add0a7373a94df5d32ce512ada1b10.tar.gz
pttbbs-b04400b441add0a7373a94df5d32ce512ada1b10.tar.bz2
pttbbs-b04400b441add0a7373a94df5d32ce512ada1b10.tar.lz
pttbbs-b04400b441add0a7373a94df5d32ce512ada1b10.tar.xz
pttbbs-b04400b441add0a7373a94df5d32ce512ada1b10.tar.zst
pttbbs-b04400b441add0a7373a94df5d32ce512ada1b10.zip
- mbbsd: redraw on display change
- bbs: workaround clrtoln bug in screen.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3740 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 5baeb752..b1aaa641 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -3149,6 +3149,9 @@ view_postinfo(int ent, const fileheader_t * fhdr, const char *direct, int crs_ln
move(area_l-(area_l < l), 0);
clrtoln(area_l -(area_l < l) + area_lines+1);
+ outc(' '); outs(ANSI_CLRTOEND);
+ move(area_l -(area_l < l) + area_lines, 0);
+ outc(' '); outs(ANSI_CLRTOEND);
move(area_l, 0);
prints(" ┌───────────────────────────────────┐\n");
@@ -3159,7 +3162,7 @@ view_postinfo(int ent, const fileheader_t * fhdr, const char *direct, int crs_ln
char aidc[10];
aidu2aidc(aidc, aidu);
- prints(" │ 此篇文章的" AID_DISPLAYNAME "為: " ANSI_COLOR(1) "#%s" ANSI_RESET " (%s看板)\n", aidc, currboard && currboard[0] ? currboard : "未知");
+ prints(" │ 此篇文章的" AID_DISPLAYNAME "為: " ANSI_COLOR(1) "#%s" ANSI_RESET " (%s)\n", aidc, currboard && currboard[0] ? currboard : "未知");
}
else
{