tasklist

package
v0.0.0-...-0ab5f93 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	Animations bool

	ViewTransitioning      bool
	ViewTransitionProgress float64

	DeletingTaskID string
	DeleteProgress float64

	DueMinimal bool

	TagsHighlight map[string]string // Added for tag highlighting
	// contains filtered or unexported fields
}

func New

func New(s styles.Styles, vimMode bool, animations bool, km keymap.Keymap, dueMinimal bool) Model

func (Model) GetSelectedTasks

func (m Model) GetSelectedTasks() []core.Task

func (Model) GetVisibleTasks

func (m Model) GetVisibleTasks() []TaskItem

func (Model) Selected

func (m Model) Selected() (TaskItem, bool)

func (*Model) SetAllTasks

func (m *Model) SetAllTasks(ts []core.Task)

func (*Model) SetAnimation

func (m *Model) SetAnimation(taskID string, start time.Time, duration time.Duration, reverse bool)

func (*Model) SetCreationAnimation

func (m *Model) SetCreationAnimation(taskID string, start time.Time, duration time.Duration)

func (*Model) SetRightOrder

func (m *Model) SetRightOrder(order []string)

func (*Model) SetSize

func (m *Model) SetSize(w, h int)

func (*Model) SetTagsConfig

func (m *Model) SetTagsConfig(cfg map[string]string)

func (*Model) SetTasks

func (m *Model) SetTasks(ts []core.Task)

func (Model) Update

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

func (Model) View

func (m Model) View() string

type TaskItem

type TaskItem struct {
	core.Task
	Depth       int
	HasChildren bool
}

Jump to

Keyboard shortcuts

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