Documentation
¶
Index ¶
- type DeleteMsg
- type EnterEditMsg
- type Styles
- type Task
- type TaskDelegate
- func (t TaskDelegate) FullHelp() [][]key.Binding
- func (t TaskDelegate) Height() int
- func (t TaskDelegate) Render(w io.Writer, m list.Model, index int, item list.Item)
- func (t TaskDelegate) ShortHelp() []key.Binding
- func (t TaskDelegate) Spacing() int
- func (t TaskDelegate) Update(msg tea.Msg, m *list.Model) tea.Cmd
- type TaskKeyMap
- type ToggleDoneMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnterEditMsg ¶
type EnterEditMsg struct{}
type Task ¶
type Task struct {
TitleStr string
DescStr string
DueDate time.Time
Done bool
// contains filtered or unexported fields
}
func (Task) Description ¶
func (Task) FilterValue ¶
type TaskDelegate ¶
type TaskDelegate struct {
Styles Styles
// contains filtered or unexported fields
}
func NewTaskDelegate ¶
func NewTaskDelegate() TaskDelegate
func (TaskDelegate) FullHelp ¶
func (t TaskDelegate) FullHelp() [][]key.Binding
func (TaskDelegate) Height ¶
func (t TaskDelegate) Height() int
func (TaskDelegate) ShortHelp ¶
func (t TaskDelegate) ShortHelp() []key.Binding
func (TaskDelegate) Spacing ¶
func (t TaskDelegate) Spacing() int
type TaskKeyMap ¶
func (TaskKeyMap) FullHelp ¶
func (t TaskKeyMap) FullHelp() [][]key.Binding
func (TaskKeyMap) ShortHelp ¶
func (t TaskKeyMap) ShortHelp() []key.Binding
type ToggleDoneMsg ¶
type ToggleDoneMsg struct{}
Click to show internal directories.
Click to hide internal directories.