first commit
This commit is contained in:
commit
5203032b83
25 changed files with 2825 additions and 0 deletions
14
setup/fields/fieldModel.go
Normal file
14
setup/fields/fieldModel.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package fields
|
||||
|
||||
import tea "github.com/charmbracelet/bubbletea"
|
||||
|
||||
type FieldModel interface {
|
||||
Init() tea.Cmd
|
||||
Update(msg tea.Msg) (FieldModel, tea.Cmd)
|
||||
View() string
|
||||
Focus()
|
||||
Blur()
|
||||
CaptureKeys() bool
|
||||
GetLabel() string
|
||||
GetValue() interface{}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue