Documentation
¶
Overview ¶
Package static provides non-interactive terminal output components.
This package contains components for rendering formatted output that does not require user interaction, such as tables and formatted text displays.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var WorktreeTableHeaders = []string{"REPO", "BRANCH", "COMMIT", "AGE", "PR", "NOTE"}
WorktreeTableHeaders are the column headers for worktree tables used by list and prune.
Functions ¶
func RenderTable ¶
RenderTable creates a formatted table with proper column alignment. Headers and rows are rendered using lipgloss/table which automatically calculates column widths based on content. No borders are rendered.
func WorktreeTableRow ¶ added in v0.17.0
WorktreeTableRow formats a git.Worktree as a table row matching WorktreeTableHeaders. staleDays controls stale highlighting: if > 0 and the commit is older than staleDays, the AGE cell is rendered with WarningStyle. Set to 0 to disable.
Types ¶
This section is empty.