Commit 45be9263 authored by rswindell's avatar rswindell
Browse files

Create new xtrn.misc bit: XTRN_PAUSE, which controls whether a screen

pause is forced when an online external program (door) exits. Default is off.
parent 29f113e1
......@@ -396,6 +396,7 @@ typedef enum { /* Values for xtrn_t.event */
#define XTRN_CHKTIME (1<<16) /* Check time online (EX_CHKTIME) */
#define XTRN_LWRCASE (1<<17) /* Use lowercase drop-file names */
#define XTRN_SH (1<<18) /* Use command shell to execute */
#define XTRN_PAUSE (1<<19) /* Force a screen pause on exit */
/* Bits in cfg.xtrn_misc */
#define XTRN_NO_MUTEX (1<<0) /* Do not use exec_mutex for FOSSIL VXD */
......
......@@ -181,7 +181,8 @@ int sbbs_t::xtrn_sec()
}
exec_xtrn(usrxtrn[l]);
lncntr=2; /* force a pause before CLS */
if(cfg.xtrn[usrxtrn[l]]->misc&XTRN_PAUSE)
lncntr=2; /* force a pause before CLS */
}
if(usrxsecs<2)
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment