ui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TaskListColor   = "#fe8019"
	ArchivedTLColor = "#fabd2f"
)
View Source
const (
	TaskSummaryMaxLen = 80
)

Variables

View Source
var (
	TaskListDefaultTitle = "omm"
)

Functions

func InitialModel

func InitialModel(db *sql.DB, config Config) model

func RenderUI

func RenderUI(db *sql.DB, config Config)

Types

type Config

type Config struct {
	TaskListColor         string
	ArchivedTaskListColor string
	TaskListTitle         string
}

type HideHelpMsg

type HideHelpMsg struct{}

Jump to

Keyboard shortcuts

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