summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-13 00:23:22 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-13 00:23:22 +0800
commit55b8273649fd7fd851847628ed53d96bf190e592 (patch)
tree48a1cab921866910ac47108f258ebc051a0519ff
parentd8c0504a477b115f90498d5f7d58dd0e9f9e132c (diff)
downloadpttbbs-55b8273649fd7fd851847628ed53d96bf190e592.tar
pttbbs-55b8273649fd7fd851847628ed53d96bf190e592.tar.gz
pttbbs-55b8273649fd7fd851847628ed53d96bf190e592.tar.bz2
pttbbs-55b8273649fd7fd851847628ed53d96bf190e592.tar.lz
pttbbs-55b8273649fd7fd851847628ed53d96bf190e592.tar.xz
pttbbs-55b8273649fd7fd851847628ed53d96bf190e592.tar.zst
pttbbs-55b8273649fd7fd851847628ed53d96bf190e592.zip
chage the color of push bottom
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2133 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 47a25dac..55cc297d 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -219,7 +219,11 @@ readdoent(int num, fileheader_t * ent)
else strcpy(recom,"0m ");
if (ent->filemode & FILE_BOTTOM)
- outs(" \033[1;31m¸m©³");
+ outs(" \033[1;31m¸m©³\033[m");
+ else if (ent->filemode & FILE_DIGEST)
+ outs(" \033[1;32m¤åºK\033[m");
+ else if (ent->filemode & FILE_MARKED)
+ prints("\033[1;33m%6d\033[m", num);
else
prints("%6d", num);