example-interrupt

command
v0.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Example TUI application demonstrating OnInterrupt with quit confirmation.

Run with:

go run ./tui/example-interrupt

Press Ctrl+C once to be asked to confirm, then Ctrl+C again within 3 seconds to quit. Any other key, or waiting 3 seconds, cancels the quit.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL