Skip to main content

Pause

Pause widgetPause widget

An acknowledgement gate: it shows its label and waits for the reader to continue. It collects a bool - always TRUE once acknowledged - and holds no other value.

$p->pause('ready', 'Review your basket'); // A gate; it takes no options.

Runnable script: playground/02-widgets/pause.php.

Options

Pause has no options of its own - it only renders its label as a gate. The shared field options (when(), weight(), description()) still apply.

Keyboard

KeyAction
Enter / SpaceAcknowledge and continue
EscCancel

Headless behaviour

An unattended run has nothing to wait for, so a pause auto-acknowledges (TRUE) and never blocks automation.

Display modes

In all four display modes - Unicode or ASCII, colour on or off:

ANSINo ANSI
UnicodePause: Unicode + ANSIPause: Unicode + ANSIPause: Unicode + No ANSIPause: Unicode + No ANSI
ASCIIPause: ASCII + ANSIPause: ASCII + ANSIPause: ASCII + No ANSIPause: ASCII + No ANSI