Documentation ¶
Index ¶
Constants ¶
View Source
const ( Available = "✅" Selected = "☑" Unselected = "☐" )
View Source
const Ellipsis = "…"
Variables ¶
This section is empty.
Functions ¶
func GetRandomLoadingMessage ¶
func GetRandomLoadingMessage() string
GetRandomLoadingMessage returns a random loading message.
func GetRandomPlaceholder ¶
func GetRandomPlaceholder() string
Types ¶
type EmbedableModel ¶
EmbedableModel is a model that can be embedded in other models. It provides some basic functionality that is common to all models.
func (EmbedableModel) Back ¶
func (m EmbedableModel) Back() bool
func (EmbedableModel) Quit ¶
func (m EmbedableModel) Quit() bool
type Spinner ¶
func NewSpinner ¶
func NewSpinner() Spinner
type SubModelBase ¶
type SubModelBase interface { // some bubbleteaish Model methods Init() tea.Cmd View() string // some custom methods // SetSize sets the width and height of the model SetSize(width, height int) // Quit returns true if the model should quit Quit() bool // Back returns true if the model should go back Back() bool }
Click to show internal directories.
Click to hide internal directories.