Skip to content

Commit

Permalink
maple/pmore.c: _pmore2(): Key 'F1' now opens the help page.
Browse files Browse the repository at this point in the history
  • Loading branch information
IepIweidieng committed Jan 25, 2019
1 parent 7887653 commit 17b5a87
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions maple/pmore.c
Original file line number Diff line number Diff line change
Expand Up @@ -2814,22 +2814,18 @@ _pmore2(
break;

/* internal help */
#ifdef PMORE_USE_INTERNAL_HELP
case 'h': case 'H': case '?':
#ifdef KEY_F1
case KEY_F1:
#endif
#ifdef PMORE_USE_INTERNAL_HELP
pmore_Help(ctx, help_handler);
MFDISP_DIRTY();
break;
#else /* r2.170810: For Our BBS system data... (not new patch) */
case 'h': case 'H':
case '?':
// help
film_out(FILM_MORE, -1);
#endif // PMORE_USE_INTERNAL_HELP
MFDISP_DIRTY();
break;
#endif // PMORE_USE_INTERNAL_HELP

/* BBS-Lua */
#ifdef USE_BBSLUA
Expand Down

0 comments on commit 17b5a87

Please sign in to comment.