Help us shape the future of Go! Take the 2026 Go Developer Survey

settings

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SettingsModel

type SettingsModel struct {
	// contains filtered or unexported fields
}

SettingsModel is the Bubble Tea model for the Settings page.

func NewSettingsModel

func NewSettingsModel(t *theme.Theme) *SettingsModel

NewSettingsModel creates a new Settings page model.

func (*SettingsModel) Init

func (m *SettingsModel) Init() tea.Cmd

Init loads project config.

func (*SettingsModel) IsTextInputActive

func (m *SettingsModel) IsTextInputActive() bool

IsTextInputActive returns true when the user is editing a setting value so that app-level shortcuts (q, s, a, digits, etc.) are suppressed.

func (*SettingsModel) Update

func (m *SettingsModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update handles messages.

func (*SettingsModel) View

func (m *SettingsModel) View() string

View renders the settings page.

type SettingsNavBackMsg

type SettingsNavBackMsg struct{}

SettingsNavBackMsg is sent when user presses q/Esc to leave the Settings page.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL