fix(tui): pin footer to bottom, style hint bar, auto-clear status

Content area now enforces full height so the context help bar stays
pinned to the terminal bottom. Hint keys rendered with bold highlight
color for scannability. Status messages (created, deleted, etc.)
auto-clear after 2 seconds, reverting to the entity count.
This commit is contained in:
2026-05-20 11:01:13 -04:00
parent e2d0f3e997
commit 4e0ac8402f
5 changed files with 77 additions and 38 deletions
+8
View File
@@ -58,6 +58,8 @@ type tagsLoadedMsg struct {
tags []db.TagCount
}
type statusClearMsg struct{}
type editorFinishedMsg struct {
err error
}
@@ -267,3 +269,9 @@ func copyResolved(store *db.Store, entityID string, resolved string) tea.Cmd {
return templateCopiedMsg{}
}
}
func clearStatusAfter(d time.Duration) tea.Cmd {
return tea.Tick(d, func(time.Time) tea.Msg {
return statusClearMsg{}
})
}