summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-09-11 17:47:32 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-09-11 17:47:32 +0800
commit6e2e5cffdef248d1aef0a480b8eac3f8fb237370 (patch)
treed85a3d97c50f47a6e1d3902e80e2967c38ebbe11 /mbbsd/board.c
parent3e667e8bf274223b49012acc74707b3651668fe3 (diff)
downloadpttbbs-6e2e5cffdef248d1aef0a480b8eac3f8fb237370.tar
pttbbs-6e2e5cffdef248d1aef0a480b8eac3f8fb237370.tar.gz
pttbbs-6e2e5cffdef248d1aef0a480b8eac3f8fb237370.tar.bz2
pttbbs-6e2e5cffdef248d1aef0a480b8eac3f8fb237370.tar.lz
pttbbs-6e2e5cffdef248d1aef0a480b8eac3f8fb237370.tar.xz
pttbbs-6e2e5cffdef248d1aef0a480b8eac3f8fb237370.tar.zst
pttbbs-6e2e5cffdef248d1aef0a480b8eac3f8fb237370.zip
quick hack to fix the clear_to_eol bug in board list
the bug may still appear otherwhere git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@519 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 368241fb..e41f2c5f 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.58 2002/09/11 07:16:49 kcwu Exp $ */
+/* $Id: board.c,v 1.59 2002/09/11 09:47:32 kcwu Exp $ */
#include "bbs.h"
#define BRC_STRLEN 15 /* Length of board name */
#define BRC_MAXSIZE 24576
@@ -648,8 +648,7 @@ show_brdlist(int head, int clsflag, int newflag)
prints("%2d ", ptr->bh->nuser);
else
prints(" %c ", ptr->bh->bvote ? 'V' : ' ');
- prints("%.*s", t_columns - 67, ptr->bh->BM);
- refresh();
+ prints("%.*s\033[K", t_columns - 67, ptr->bh->BM);
} else {
prints("%-40.40s %.*s", ptr->bh->title + 7,
t_columns - 67, ptr->bh->BM);