Pause
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
| Key | Action |
|---|---|
Enter / Space | Acknowledge and continue |
Esc | Cancel |
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:
| ANSI | No ANSI | |
| Unicode | ||
| ASCII |