Skip to content

Commit 7899043

Browse files
committed
feat(ui): Add tree-only mode indicator to footer
1 parent ae8ca99 commit 7899043

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

internal/model/view.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,11 @@ func (m Model) renderFooter() string {
353353
rightParts = append(rightParts, ui.GetStyleInfo().Render(" | 🔗 Deps"))
354354
}
355355

356+
// Tree-only status
357+
if m.treeOnly {
358+
rightParts = append(rightParts, ui.GetStyleInfo().Render(" | 🌳 Tree"))
359+
}
360+
356361
leftContent := lipgloss.JoinHorizontal(lipgloss.Top, leftParts...)
357362
rightContent := lipgloss.JoinHorizontal(lipgloss.Top, rightParts...)
358363

0 commit comments

Comments
 (0)