summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 75e144e8..14cf4e8c 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -845,7 +845,9 @@ i_read_key(const onekey_t * rcmdlist, keeploc_t * locmem,
if (func != NULL){
num = locmem->crs_ln - bottom_line;
- if( num > 0 ){
+ if(!rcmdlist[ch - 1].needitem)
+ mode = (*func)();
+ else if( num > 0 ){
sprintf(direct,"%s.bottom", currdirect);
mode= (*func)(num, &headers[locmem->crs_ln-locmem->top_ln],
direct);