diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-06 09:45:56 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-06 09:45:56 +0800 |
commit | fe6309732b3f4a4006e0f7dd3eb61009abb6b5da (patch) | |
tree | 0bfd56085c00de3e42594bf659f329a8eab7c106 /mbbsd | |
parent | 7b4a716ba7b13361b1a2cf907b8230c7a856b7f5 (diff) | |
download | pttbbs-fe6309732b3f4a4006e0f7dd3eb61009abb6b5da.tar pttbbs-fe6309732b3f4a4006e0f7dd3eb61009abb6b5da.tar.gz pttbbs-fe6309732b3f4a4006e0f7dd3eb61009abb6b5da.tar.bz2 pttbbs-fe6309732b3f4a4006e0f7dd3eb61009abb6b5da.tar.lz pttbbs-fe6309732b3f4a4006e0f7dd3eb61009abb6b5da.tar.xz pttbbs-fe6309732b3f4a4006e0f7dd3eb61009abb6b5da.tar.zst pttbbs-fe6309732b3f4a4006e0f7dd3eb61009abb6b5da.zip |
msg pretty print
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2901 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/pmore.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index dc70f29e..03433603 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -1868,6 +1868,7 @@ pmore(char *fpath, int promptend) postfix1len = 12; // check msg below postfix2len = 10; + if(mf_viewedAll()) postfix1len = 15; if (prefixlen + postfix1len + postfix2len + 1 > t_columns) { @@ -1882,6 +1883,10 @@ pmore(char *fpath, int promptend) if(postfix1len > 0) outs( + mf_viewedAll() ? + ANSI_COLOR(0;31;47)" (y)" ANSI_COLOR(30) "回信" + ANSI_COLOR(31) "(X)" ANSI_COLOR(30) "推文 " + : ANSI_COLOR(0;31;47) "(h)" ANSI_COLOR(30) "按鍵說明 " ); |