Skip to content

Commit 1f8a9b0

Browse files
committed
fix: remove space key binding from selector to prevent input conflicts
1 parent b72072b commit 1f8a9b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/tui/selector.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func (m selectorModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
8080
if m.cursor < len(m.filtered)-1 {
8181
m.cursor++
8282
}
83-
case "tab", " ":
83+
case "tab":
8484
if m.multiSelect && len(m.filtered) > 0 {
8585
idx := m.findOriginalIndex(m.filtered[m.cursor])
8686
m.checked[idx] = !m.checked[idx]
@@ -179,7 +179,7 @@ func (m selectorModel) View() string {
179179
}
180180

181181
if m.multiSelect {
182-
b.WriteString(dimStyle.Render("\n\nTAB/SPACE to select, ENTER to confirm, ESC to cancel"))
182+
b.WriteString(dimStyle.Render("\n\nTAB to select, ENTER to confirm, ESC to cancel"))
183183
} else {
184184
b.WriteString(dimStyle.Render("\n\nENTER to select, ESC to cancel"))
185185
}

0 commit comments

Comments
 (0)