diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-10-12 15:18:01 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-10-12 15:18:01 +0800 |
commit | c89f89cc93f9ada8d6b1ae38c83cc1a61d4f7679 (patch) | |
tree | 3786b5f85ae336a2d2a8d5af32e1d6a91a0fe66c /mbbsd | |
parent | ff79e173c71cc5d3df73580d24293c9da2a5151f (diff) | |
download | pttbbs-c89f89cc93f9ada8d6b1ae38c83cc1a61d4f7679.tar pttbbs-c89f89cc93f9ada8d6b1ae38c83cc1a61d4f7679.tar.gz pttbbs-c89f89cc93f9ada8d6b1ae38c83cc1a61d4f7679.tar.bz2 pttbbs-c89f89cc93f9ada8d6b1ae38c83cc1a61d4f7679.tar.lz pttbbs-c89f89cc93f9ada8d6b1ae38c83cc1a61d4f7679.tar.xz pttbbs-c89f89cc93f9ada8d6b1ae38c83cc1a61d4f7679.tar.zst pttbbs-c89f89cc93f9ada8d6b1ae38c83cc1a61d4f7679.zip |
add +/- support when reading article, thanks wens
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/more.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/more.c b/mbbsd/more.c index 80f59947..fd8557d0 100644 --- a/mbbsd/more.c +++ b/mbbsd/more.c @@ -26,7 +26,7 @@ static char * const more_help[] = { "(Ctrl-T) 存到暫存檔", "(:/f/b) 跳至某頁/下/上篇", "(a/A) 跳至同一作者下/上篇", - "([/]) 主題式閱\讀 上/下", + "([-/]+) 主題式閱\讀 上/下", "(t) 主題式循序閱\讀", "(q)(←) 結束", "(h)(H)(?) 輔助說明畫面", @@ -407,9 +407,11 @@ more(char *fpath, int promptend) close(fd); return FULLUPDATE; case ']': /* Kaede 為了主題閱讀方便 */ + case '+': close(fd); return RELATE_NEXT; case '[': /* Kaede 為了主題閱讀方便 */ + case '-': close(fd); return RELATE_PREV; case '=': /* Kaede 為了主題閱讀方便 */ |