Most of the new models have been reimplemented
This commit is contained in:
parent
7a5584cf9a
commit
aa828df3ae
19 changed files with 226 additions and 156 deletions
|
|
@ -1,17 +1,17 @@
|
|||
package events
|
||||
|
||||
import (
|
||||
"github.com/lmika/awstools/internal/common/ui/uimodels"
|
||||
tea "github.com/charmbracelet/bubbletea"
|
||||
)
|
||||
|
||||
// Error indicates that an error occurred
|
||||
type Error error
|
||||
type ErrorMsg error
|
||||
|
||||
// Message indicates that a message should be shown to the user
|
||||
type Message string
|
||||
type StatusMsg string
|
||||
|
||||
// PromptForInput indicates that the context is requesting a line of input
|
||||
type PromptForInput struct {
|
||||
type PromptForInputMsg struct {
|
||||
Prompt string
|
||||
OnDone uimodels.Operation
|
||||
OnDone func(value string) tea.Cmd
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue