summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-16 10:38:35 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-16 10:38:35 +0800
commit2ffc08bb0498d5f15af3a3e0118df3f70d96a939 (patch)
treec314e716b349fa2954f56d40c8d8c2558687f868
parentbede7393f59b9d71afeef9f139e3e8877f54d10f (diff)
downloadpttbbs-2ffc08bb0498d5f15af3a3e0118df3f70d96a939.tar
pttbbs-2ffc08bb0498d5f15af3a3e0118df3f70d96a939.tar.gz
pttbbs-2ffc08bb0498d5f15af3a3e0118df3f70d96a939.tar.bz2
pttbbs-2ffc08bb0498d5f15af3a3e0118df3f70d96a939.tar.lz
pttbbs-2ffc08bb0498d5f15af3a3e0118df3f70d96a939.tar.xz
pttbbs-2ffc08bb0498d5f15af3a3e0118df3f70d96a939.tar.zst
pttbbs-2ffc08bb0498d5f15af3a3e0118df3f70d96a939.zip
- revert uncaching of ANSI escapes: need more tricks to finish it.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3686 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/screen.c b/mbbsd/screen.c
index 7d512aca..c959cf45 100644
--- a/mbbsd/screen.c
+++ b/mbbsd/screen.c
@@ -358,8 +358,7 @@ outc(unsigned char c)
slp->len = cur_col + 1;
}
- // flush ANSI escapes everytime.
- if (c == ESC_CHR || slp->data[cur_col] != c) {
+ if (slp->data[cur_col] != c) {
slp->data[cur_col] = c;
if (!(slp->mode & MODIFIED))
slp->smod = slp->emod = cur_col;