message

package
v0.0.0-...-5375a1e Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelEdit

func CancelEdit() tea.Msg

func EditTask

func EditTask(task pomo.Task) tea.Cmd

func Err

func Err(err error) tea.Cmd

func LoadState

func LoadState(current pomo.Pomo, previous []pomo.Pomo) tea.Cmd

func NewTask

func NewTask(status pomo.Status) tea.Cmd

func PromptDeleteTask

func PromptDeleteTask(task pomo.Task) tea.Cmd

func SaveTask

func SaveTask(task pomo.Task) tea.Cmd

func TasksModified

func TasksModified(tasks []pomo.Task) tea.Cmd

Types

type CancelEditMsg

type CancelEditMsg struct{}

type EditTaskMsg

type EditTaskMsg struct {
	pomo.Task
}

type ErrMsg

type ErrMsg struct {
	Err error
}

type LoadStateMsg

type LoadStateMsg struct {
	Current  pomo.Pomo
	Previous []pomo.Pomo
}

type NewTaskMsg

type NewTaskMsg struct {
	Status pomo.Status
}

type PromptDeleteTaskMsg

type PromptDeleteTaskMsg struct {
	pomo.Task
}

type SaveTaskMsg

type SaveTaskMsg struct {
	Task pomo.Task
}

type TasksModifiedMsg

type TasksModifiedMsg struct {
	Tasks []pomo.Task
}

Jump to

Keyboard shortcuts

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