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.
Click to show internal directories.
Click to hide internal directories.