package
0.22.0-dev
Repository: https://github.com/elves/elvish.git
Documentation: pkg.go.dev

# 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.

# Constants

Initial size of fake TTY.
Initial size of fake TTY.

# Variables

Styles defines a common stylesheet for unit tests.

# Structs

Fixture is a test fixture.
TTYCtrl is an interface for controlling a fake terminal.