components

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderTaskDetail

func RenderTaskDetail(t theme.Theme, tsk types.Task, projectName string, width int) string

RenderTaskDetail returns a beautifully formatted task detail view.

func RenderTaskPreview

func RenderTaskPreview(t theme.Theme, tsk types.Task, projectName string, width int) string

RenderTaskPreview returns a compact one-line preview for the picker detail pane.

Types

type HelpBar

type HelpBar struct {
	Theme    theme.Theme
	Width    int
	Bindings []KeyBinding
}

HelpBar renders a compact help bar showing available keybindings.

func NewHelpBar

func NewHelpBar(t theme.Theme) HelpBar

func (HelpBar) View

func (h HelpBar) View() string

type KeyBinding

type KeyBinding struct {
	Key  string
	Help string
}

KeyBinding represents a single key binding for help display.

Jump to

Keyboard shortcuts

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