Short comma-separated key hints everywhere; write down what is left to build

This commit is contained in:
Sam
2026-11-11 13:39:52 +11:00
parent f94934569d
commit 0476afcb95
14 changed files with 362 additions and 54 deletions

View File

@@ -302,11 +302,11 @@ func (m repairModel) View() string {
to := min(len(body), from+visible)
footer := hintLine([]string{
keyHint("[ ]", "switch tab"),
keyHint("R", "rebuild every pane"),
keyHint("↑↓ or j k", "scroll"),
keyHint("r", "check again"),
keyHint("q", "leave"),
keyHint("[ ]", "tab"),
keyHint("R", "rebuild"),
keyHint("↑↓", "scroll"),
keyHint("r", "recheck"),
keyHint("q", "quit"),
}, m.width)
gap := max(2, m.width-lipgloss.Width(head)-lipgloss.Width(state)-1)