summaryrefslogtreecommitdiffstats
path: root/mbbsd/screen.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/screen.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/screen.c')
-rw-r--r--mbbsd/screen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/screen.c b/mbbsd/screen.c
index fb367618..76e1a6de 100644
--- a/mbbsd/screen.c
+++ b/mbbsd/screen.c
@@ -1,4 +1,4 @@
-/* $Id: screen.c,v 1.10 2002/09/11 07:16:49 kcwu Exp $ */
+/* $Id: screen.c,v 1.11 2002/09/11 09:47:32 kcwu Exp $ */
#include "bbs.h"
#ifdef SUPPORT_GB
@@ -194,6 +194,8 @@ refresh()
}
}
if (bp->oldlen > len) {
+ /* XXX len/oldlen also count the length of escape sequence,
+ * before we fix it, we must print \033[K everywhere */
rel_move(tc_col, tc_line, len, i);
o_cleol();
}