ui

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode

type Mode int
const (
	ModeNormal Mode = iota
	ModeViewDetail
	ModeDeleteConfirm
	ModeArchiveConfirm
	ModeAddTask
)

type TodoTableModel

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

func NewTodoTable

func NewTodoTable(todoList *model.TodoList) TodoTableModel

func (TodoTableModel) GetSourceLabel added in v1.0.6

func (m TodoTableModel) GetSourceLabel() string

func (TodoTableModel) GetTodoList added in v1.0.6

func (m TodoTableModel) GetTodoList() *model.TodoList

func (TodoTableModel) Init

func (m TodoTableModel) Init() tea.Cmd

func (*TodoTableModel) SetShowActiveOnly

func (m *TodoTableModel) SetShowActiveOnly(show bool)

func (*TodoTableModel) SetShowAll

func (m *TodoTableModel) SetShowAll(show bool)

func (*TodoTableModel) SetShowArchivedOnly

func (m *TodoTableModel) SetShowArchivedOnly(show bool)

func (*TodoTableModel) SetSource added in v1.0.6

func (m *TodoTableModel) SetSource(label, filename string)

func (*TodoTableModel) SetSourceLabel added in v1.0.6

func (m *TodoTableModel) SetSourceLabel(label string)

func (*TodoTableModel) SetStatusMessage

func (m *TodoTableModel) SetStatusMessage(message string)

func (TodoTableModel) Update

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

func (TodoTableModel) View

func (m TodoTableModel) View() string

Jump to

Keyboard shortcuts

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