summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-12-02 20:43:21 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-12-02 20:43:21 +0800
commit46ce48e5d73747963891833b2725839aaac035f1 (patch)
tree078b8b9e766bb007de90c3e644516b93099c4bfe /mbbsd/io.c
parentb8068a594bf203c8619e7509c7ae20085f2a1021 (diff)
downloadpttbbs-46ce48e5d73747963891833b2725839aaac035f1.tar
pttbbs-46ce48e5d73747963891833b2725839aaac035f1.tar.gz
pttbbs-46ce48e5d73747963891833b2725839aaac035f1.tar.bz2
pttbbs-46ce48e5d73747963891833b2725839aaac035f1.tar.lz
pttbbs-46ce48e5d73747963891833b2725839aaac035f1.tar.xz
pttbbs-46ce48e5d73747963891833b2725839aaac035f1.tar.zst
pttbbs-46ce48e5d73747963891833b2725839aaac035f1.zip
some help pages are showed from file
more comments remove dirty hack in fav.c since it's safe now git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r--mbbsd/io.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index d0bb1db6..3ad264b9 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -422,6 +422,15 @@ igetch()
return 0;
}
+/**
+ * 根據 mode 來 strip 字串 str,並把結果存到 buf
+ * @param buf
+ * @param str
+ * @param mode enum {STRIP_ALL = 0, ONLY_COLOR, NO_RELOAD};
+ * STRIP_ALL: ??
+ * ONLY_COLOR: ??
+ * NO_RELOAD: 不 strip (?)
+ */
int
strip_ansi(char *buf, char *str, int mode)
{