UNPKG

askeroo

Version:

A modern CLI prompt library with flow control, history navigation, and conditional prompts

12 lines 449 B
/** * Demonstration of double Ctrl+C force quit behavior * * This example shows how the cancellation system works: * 1. First Ctrl+C: Triggers onCancel callbacks for graceful shutdown * 2. Second Ctrl+C: Forces immediate exit with process.exit(1) * * Try it: Run this example and press Ctrl+C once to see the cleanup message, * then press Ctrl+C again to force quit immediately. */ export {}; //# sourceMappingURL=double-ctrlc-demo.d.ts.map