app

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewListKeyMap

func NewListKeyMap() *listKeyMap

func NewModel

func NewModel(cfg config.Config, service taskservice.Service) tea.Model

Types

type AppStyles

type AppStyles struct {
	// Frame is the global application frame (padding/margins) applied
	// around both the list view and the editmenu view.
	Frame lipgloss.Style

	// Status contains global success/error status styles shared by
	// all views (list, edit menu, etc.).
	Status statusMessageStyles

	// List contains styles specific to the list component.
	List ListStyles

	// EditMenu contains styles for the edit menu container.
	EditMenu editmenu.Styles

	// Form contains styles for the inner edit form.
	Form editmenu.Styles
}

AppStyles is the top-level style graph for the application.

type ListStyles

type ListStyles struct {
	Title lipgloss.Style
}

ListStyles contains styles for the task list view.

type TasksLoadErrorMsg

type TasksLoadErrorMsg struct{ Err error }

type TasksLoadedMsg

type TasksLoadedMsg struct{ Tasks []task.Task }

type TasksSaveErrorMsg

type TasksSaveErrorMsg struct{ Err error }

type TasksSavedMsg

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

Jump to

Keyboard shortcuts

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