7 "charm.land/lipgloss/v2"
8 "github.com/charmbracelet/crush/internal/tui/styles"
11func queuePill(queue int, t *styles.Theme) string {
15 triangles := styles.ForegroundGrad("▶▶▶▶▶▶▶▶▶", false, t.RedDark, t.Accent)
17 triangles = triangles[:queue]
20 allTriangles := strings.Join(triangles, "")
23 BorderStyle(lipgloss.RoundedBorder()).
24 BorderForeground(t.BgOverlay).
27 Render(fmt.Sprintf("%s %d Queued", allTriangles, queue))
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list