Help us shape the future of Go! Take the 2026 Go Developer Survey

tasks

package
v0.19.11 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extension

func Extension(draw Draw) extensions.Factory

Types

type Draw added in v0.19.4

type Draw struct {
	Widget func(summary, list string, host extensions.UIHost, theme extensions.Theme) extensions.Component
	Text   func(text string, oneLine bool) extensions.Component
}

Draw is how a terminal draws the list: the widget above the editor, its summary opened by a click, and the todo tool's result, cut to one line until expanded. A host without a terminal leaves it zero and shows the summary line.

Jump to

Keyboard shortcuts

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