# Functions
GetTTYCtrl takes a TTY and returns a TTYCtrl and true, if the TTY is a fake terminal.
NewFakeTTY creates a new FakeTTY and a handle for controlling it.
Setup sets up a test fixture.
StartReadCode starts the readCode function asynchronously, and returns two channels that deliver its return values.
WithSpec takes a function that operates on *cli.AppSpec, and wraps it into a form suitable for passing to Setup.
WithTTY takes a function that operates on TTYCtrl, and wraps it to a form suitable for passing to Setup.
# Variables
Styles defines a common stylesheet for unit tests.