summaryrefslogtreecommitdiffstats
path: root/mbbsd/pmore.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-05 14:16:18 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-05 14:16:18 +0800
commitf3628aca5d085bf7d8a37f5ac4e889e5c22d99c7 (patch)
tree3947b85cd6420072d7f6e6a4e0afad3d6ee30052 /mbbsd/pmore.c
parent306ae489376906fe06e7abcfa119aeba3cf1095c (diff)
downloadpttbbs-f3628aca5d085bf7d8a37f5ac4e889e5c22d99c7.tar
pttbbs-f3628aca5d085bf7d8a37f5ac4e889e5c22d99c7.tar.gz
pttbbs-f3628aca5d085bf7d8a37f5ac4e889e5c22d99c7.tar.bz2
pttbbs-f3628aca5d085bf7d8a37f5ac4e889e5c22d99c7.tar.lz
pttbbs-f3628aca5d085bf7d8a37f5ac4e889e5c22d99c7.tar.xz
pttbbs-f3628aca5d085bf7d8a37f5ac4e889e5c22d99c7.tar.zst
pttbbs-f3628aca5d085bf7d8a37f5ac4e889e5c22d99c7.zip
- bbslua: add detection of buffer, and enable 'P' in pmore to start bbslua
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3789 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/pmore.c')
-rw-r--r--mbbsd/pmore.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index d82c721f..9d82838a 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -2368,6 +2368,12 @@ pmore(char *fpath, int promptend)
MFDISP_DIRTY();
break;
+#if defined(USE_BBSLUA) && defined(RET_DOBBSLUA)
+ case 'P':
+ flExit = 1, retval = RET_DOBBSLUA;
+ break;
+#endif
+
#ifdef PMORE_USE_ASCII_MOVIE
case 'p':
/* play ascii movie again