fix(tui): click selection sync + 2-page site form #132

Merged
lerko merged 2 commits from fix/click-selection-sync into main 2026-06-16 23:45:26 +00:00
Showing only changes of commit dd34da4d67 - Show all commits
+1
View File
@@ -727,6 +727,7 @@ func (m *Model) handleClick(msg tea.MouseMsg) (tea.Model, tea.Cmd) {
for i := m.tableOffset; i < end; i++ { for i := m.tableOffset; i < end; i++ {
if m.zones.Get(fmt.Sprintf("%s-%d", prefix, i)).InBounds(msg) { if m.zones.Get(fmt.Sprintf("%s-%d", prefix, i)).InBounds(msg) {
m.cursor = i m.cursor = i
m.syncSelectedID()
return m, nil return m, nil
} }
} }