diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-22 09:47:15 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-22 09:47:15 +0800 |
commit | 447da5c6fbcf2ab072d915077da0a066300577bf (patch) | |
tree | 0c5732f1cd7cfacf316b39ea3a23b025bdf87e05 /mbbsd/more.c | |
parent | 7bf81de5f0316b35c6437079cc226935f28323d5 (diff) | |
download | pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.gz pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.bz2 pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.lz pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.xz pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.zst pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.zip |
- code refine: use ANSI_REVERSE to replace ANSI_COLOR(7), more meaningful.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4229 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/more.c')
-rw-r--r-- | mbbsd/more.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/more.c b/mbbsd/more.c index 2a0f5009..5422c0bd 100644 --- a/mbbsd/more.c +++ b/mbbsd/more.c @@ -167,12 +167,12 @@ int more(const char *fpath, int promptend) if (q1 == q2) q2 = NULL; outs(ANSI_COLOR(34;47) " "); - outs(buf); outs(" " ANSI_COLOR(5)); + outs(buf); outs(" " ANSI_REVERSE); outs(q1); prints("%*s", l, ""); q1 += strlen(q1); if (q2) { outs(ANSI_COLOR(0;34;47) " "); outs(q1+1); - outs(" " ANSI_COLOR(5)); outs(q2); + outs(" " ANSI_REVERSE); outs(q2); } outs(ANSI_RESET"\n"); } else |