Documentation
¶
Overview ¶
Package tui provides the terminal user interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the main TUI model.
func New ¶
New creates a new TUI model. New constructs the TUI Model. Callers are responsible for opening the Store (so Close can be deferred in the caller's scope after Program.Run returns) and passing it in. The Model reuses that Store across every refresh, avoiding the sql.Open + migrate churn the old per-refresh pattern incurred.
Click to show internal directories.
Click to hide internal directories.