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

# Packages

Package clitest provides utilities for testing cli.App.
Package histutil provides utilities for working with command history.
Package lscolors provides styling of filenames based on file features.
Package mode implements modes, which are widgets tailored for a specific task.
Package prompt provides an implementation of the cli.Prompt interface.
Package term provides functionality for working with terminals.
Package tk is the toolkit for the cli package.

# Functions

NewApp creates a new App from the given specification.
NewConstPrompt returns a Prompt that always shows the given text.
NewTTY returns a new TTY from input and output terminal files.

# Structs

AppSpec specifies the configuration and initial state for an App.
State represents mutable state of an App.

# Interfaces

App represents a CLI app.
Highlighter represents a code highlighter whose result can be delivered asynchronously.
Prompt represents a prompt whose result can be delivered asynchronously.
TTY is the type the terminal dependency of the editor needs to satisfy.