summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-05 17:45:48 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-05 17:45:48 +0800
commitfbdd7cbf2c444d251ff0c6826ef952e681baaa2c (patch)
tree27bdcbddff63f6428a0df8c70894a410bc5167da /mbbsd/edit.c
parentfad6d5dd743843705e3a42da7a80b5bebc009bcb (diff)
downloadpttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.tar
pttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.tar.gz
pttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.tar.bz2
pttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.tar.lz
pttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.tar.xz
pttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.tar.zst
pttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.zip
- add some grayout effects, and general code improvement
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index c2bdfe6a..a0e7dac2 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -2095,6 +2095,7 @@ display_textline_internal(textline_t *p, int i)
if (!p) {
outc('~');
+ outs(ANSI_CLRTOEND);
return;
}
@@ -3334,6 +3335,7 @@ vedit(char *fpath, int saveheader, int *islocal)
#endif // PMORE_USE_ASCII_MOVIE
edit_outs_attr(&curr_buf->currline->data[curr_buf->edit_margin], attr);
}
+ outs(ANSI_RESET ANSI_CLRTOEND);
edit_msg();
}
} /* redraw */