package
0.7.0
Repository: https://github.com/ubclaunchpad/inertia.git
Documentation: pkg.go.dev

# Functions

CatchSigterm listens in the background for some kind of interrupt and calls the given cancelFunc as necessary.
NewPrompt instantiates a new prompt interaction on standard in.
NewPromptOnInput instantiates a new prompt on specified input.

# Variables

ErrEmptyInput is returned on empty imputs - toggle with AllowEmpty.
ErrInvalidInput is returned on disallowed inputs - toggle with AllowInvalid.

# Structs

PromptConfig offers prompt configuration.
PromptInteraction is a builder for interactions - use .PromptX followed by .GetX.