Versions in this module Expand all Collapse all v0 v0.2.0 Sep 20, 2026 Changes in this version + func ReservedKeys() []string + func Schema() []byte + func Scroll(top, at, height, total int) int + func Window[T any](lines []T, at, height, top int) []T type Field + Spans []Span type Invalid + func Problems(p *Panel) []Invalid + type Layout string + const LayoutColumns + const LayoutLines type Line + Verbatim bool type Panel + At string type Row + Tone RowTone + type RowTone string + const RowAdded + const RowRemoved + func (r RowTone) Known() bool type Section + Layout Layout + type Span struct + From int + To int + Tone Tone type Style + Offset int + type Tone string + const ToneChanged + const ToneComment + const ToneKeyword + const ToneName + const ToneNumber + const ToneString + const ToneType + func (t Tone) Known() bool v0.1.0 Sep 16, 2026 Changes in this version + const Version + func Elapsed(d time.Duration) string + func Fit(value string, kind Kind, width int) string + func Matches(row Row, query string) bool + func Render(p Panel, style Style) []string + func ShellJoin(argv []string) string + func ShellQuote(arg string) string + func Since(t time.Time) string + func Validate(p *Panel) error + func ValidateTargets(p *Panel) error + type Action struct + Args []string + Choices []string + Confirm string + Global bool + Help string + Input string + Key string + Label string + Panel string + Retry []Retry + Verb string + func (a Action) RetryFor(refusal string) (Retry, bool) + type Column struct + Kind Kind + Name string + Width int + func Columns(rows []Row, width int) []Column + type Field struct + Kind Kind + Name string + Value string + type Invalid struct + Path string + Reason string + func (e Invalid) Error() string + type Kind string + const KindCount + const KindPath + const KindRef + const KindText + const KindTime + func (k Kind) Known() bool + type Line struct + Depth int + Header bool + Label string + Row Row + Section string + func Lines(p Panel, folded map[string]bool) []Line + type Mark string + const MarkBlocked + const MarkDetached + const MarkDirty + const MarkDone + const MarkHere + const MarkNew + const MarkNone + const MarkWaiting + const MarkWorking + func (m Mark) Glyph(ascii bool) string + func (m Mark) Known() bool + type Panel struct + Actions map[string]Action + Empty string + Hints []string + ID string + Order []string + Sections []Section + Subtitle string + Title string + Version int + func Filter(p Panel, query string) Panel + func (p Panel) ActionNames() []string + func (p Panel) Find(id string) (Row, bool) + func (p Panel) Rows() []Row + type Retry struct + Args []string + Label string + Verb string + When string + type Row struct + Actions []string + Children []Row + Dim bool + Facts []string + Fields []Field + ID string + Mark Mark + Note string + Preview []string + Target string + func Keep(row Row, query string) (Row, bool) + func (r Row) TargetID() string + type Section struct + Collapsed bool + ID string + Label string + Rows []Row + type Style struct + ASCII bool + Cursor string + Folded map[string]bool + Height int + Query string + Width int + type Transport struct + Prefix []string + Shell bool + func Local() Transport + func Via(prefix []string) Transport + func ViaSSH(host string, extra ...string) Transport + func (t Transport) Argv(verb string, args []string) []string + func (t Transport) Remote() bool