MCPcopy
hub / github.com/docker/docker-agent / renderTab

Method renderTab

pkg/tui/components/sidebar/sidebar.go:1540–1542  ·  view source on GitHub ↗
(title, content string, contentWidth int)

Source from the content-addressed store, hash-verified

1538}
1539
1540func (m *model) renderTab(title, content string, contentWidth int) string {
1541 return tab.Render(title, content, contentWidth)
1542}
1543
1544// metrics computes the layout metrics for the current render.
1545// scrollbarVisible should be true if the scrollbar will be shown.

Callers 5

tokenUsageMethod · 0.95
sessionInfoMethod · 0.95
queueSectionMethod · 0.95
agentInfoMethod · 0.95
toolsetInfoMethod · 0.95

Calls 1

RenderFunction · 0.92

Tested by

no test coverage detected