wip: refactoring tui
This commit is contained in:
@@ -36,6 +36,12 @@ type LayoutInfo struct {
|
||||
Container Dimensions
|
||||
}
|
||||
|
||||
type Modal interface {
|
||||
tea.Model
|
||||
Render(background string) string
|
||||
Close() tea.Cmd
|
||||
}
|
||||
|
||||
type Focusable interface {
|
||||
Focus() tea.Cmd
|
||||
Blur() tea.Cmd
|
||||
|
||||
Reference in New Issue
Block a user