diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-18 02:59:03 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-18 02:59:03 +0800 |
commit | 04b4c909f7ae61ca54cc3f34399bef085e488010 (patch) | |
tree | 347e5063d537880ff7686b8a4da2cd22bb0ca643 | |
parent | b3a7032c8bb5910225d7c181905c589d68c6f186 (diff) | |
download | pttbbs-04b4c909f7ae61ca54cc3f34399bef085e488010.tar pttbbs-04b4c909f7ae61ca54cc3f34399bef085e488010.tar.gz pttbbs-04b4c909f7ae61ca54cc3f34399bef085e488010.tar.bz2 pttbbs-04b4c909f7ae61ca54cc3f34399bef085e488010.tar.lz pttbbs-04b4c909f7ae61ca54cc3f34399bef085e488010.tar.xz pttbbs-04b4c909f7ae61ca54cc3f34399bef085e488010.tar.zst pttbbs-04b4c909f7ae61ca54cc3f34399bef085e488010.zip |
pretty format of name-complete,
try to make 't'(tag) light refresh,
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3185 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/announce.c | 3 | ||||
-rw-r--r-- | mbbsd/name.c | 2 | ||||
-rw-r--r-- | mbbsd/read.c | 11 |
3 files changed, 13 insertions, 3 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c index 90d96c08..255593ce 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -1080,6 +1080,9 @@ a_menu(const char *maintitle, const char *path, int lastlevel, char *trans_buffe else a_copyitem(fname, me.header[me.now - me.page].title, 0, 1); me.page = 9999; + /* move down */ + if (++me.now >= me.num) + me.now = 0; break; } case '\n': diff --git a/mbbsd/name.c b/mbbsd/name.c index c764fb89..85c849a7 100644 --- a/mbbsd/name.c +++ b/mbbsd/name.c @@ -497,7 +497,7 @@ usercomplete(const char *prompt, char *data) { /* no such user */ move(2,0); - outs("* 目前無此使用者:"); + outs("- 目前無使用者 "); outs(data); outs(" "); temp--; diff --git a/mbbsd/read.c b/mbbsd/read.c index c352a942..70fdbe3e 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -803,8 +803,15 @@ i_read_key(const onekey_t * rcmdlist, keeploc_t * locmem, (currmode & MODE_SELECT) ? (headers[locmem->crs_ln - locmem->top_ln].multi.refer.ref) : locmem->crs_ln, TAG_TOGGLE)) - locmem->crs_ln = locmem->crs_ln + 1; - mode = FULLUPDATE; + { +// (*doentry) (locmem->crs_ln, &headers[locmem->crs_ln-locmem->top_ln]); + locmem->crs_ln ++; + // new_ln = locmem->crs_ln + 1; + // new_top = 1; + // mode = FULLUPDATE; + // mode = PART_REDRAW; + mode = PARTUPDATE; + } break; case Ctrl('C'): |