Documentation
¶
Overview ¶
Package settings is the dashboard's configuration view: it shows where the active config came from and what it resolved to, offers a manual reload, and watches the file (on the shared refresh heartbeat) so edits hot-apply without restarting the TUI. Theme and credentials still need a restart — the theme applies once per process and auth requires a new client.
Index ¶
Constants ¶
const ID core.SectionID = "settings"
ID is the section identifier.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the settings section. It holds no config copy of its own — it renders straight from the shared context, so a hot-reload elsewhere is reflected on the next frame.
func (*Model) CapturesInput ¶
CapturesInput: the settings view has no text input.
func (*Model) HelpBindings ¶
HelpBindings lists the section's contextual bindings.
func (*Model) Init ¶
func (m *Model) Init(ctx *core.ProgramContext) tea.Cmd
Init records the config file's current mtime as the auto-reload baseline.