renderer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SymbolDone    = "✓"
	SymbolActive  = "▶"
	SymbolBlocked = "!"
	SymbolTodo    = "○"
)

Variables

This section is empty.

Functions

func Bold

func Bold(s string) string

Bold wraps text in ANSI bold.

func ContextBlock

func ContextBlock(completed *plan.Task, active *plan.Task, ctx plan.Context) string

ContextBlock renders the compact context view (trail next output). Shows the just-completed task (if any) and the new active task.

func StatusSymbol

func StatusSymbol(status string) string

StatusSymbol returns the display symbol for a task status.

func Summary

func Summary(p *plan.Plan) string

Summary renders the full session summary (trail plan output).

Types

This section is empty.

Jump to

Keyboard shortcuts

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