tui

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func New

func New(database *db.DB) *App

func (*App) Init

func (a *App) Init() tea.Cmd

func (*App) Run

func (a *App) Run() error

func (*App) Update

func (a *App) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*App) View

func (a *App) View() string

type ParsedTask added in v1.1.0

type ParsedTask struct {
	Title    string
	Tags     []string
	DueDate  string
	Priority int
}

ParsedTask holds the result of parsing inline task syntax

func ParseTaskInput added in v1.1.0

func ParseTaskInput(input string) ParsedTask

ParseTaskInput parses inline task syntax: "task #tag @date !priority"

type TaskLine

type TaskLine struct {
	Task     *model.Task
	Depth    int
	Expanded bool
	Index    int
}

Jump to

Keyboard shortcuts

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