dynamo-browse/internal/common/ui/events/errors.go
Leon Mika 809f9adfea Added mode line
Also rescanning will maintain the current query
2022-06-22 11:57:12 +10:00

21 lines
478 B
Go

package events
import (
tea "github.com/charmbracelet/bubbletea"
)
// Error indicates that an error occurred
type ErrorMsg error
// Message indicates that a message should be shown to the user
type StatusMsg string
// ModeMessage indicates that the mode should be changed to the following
type ModeMessage string
// PromptForInput indicates that the context is requesting a line of input
type PromptForInputMsg struct {
Prompt string
OnDone func(value string) tea.Cmd
}