Testing
Demonstrates unit testing go-tui components without a real terminal using MockTerminal for capturing rendered output and MockEventReader for replaying queued events.
Run
go test ./...
Guide
For a detailed walkthrough, see the Testing guide.