1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-16 10:36:12 +00:00

fix(ui): stop treating space as search filter in paginated menu

This commit is contained in:
tw93
2026-02-05 19:50:16 +08:00
parent a0d5b476d3
commit 30777dafa3

View File

@@ -657,14 +657,6 @@ paginated_multi_select() {
fi fi
;; ;;
"SPACE") "SPACE")
# In filter mode with active text, treat space as search character
if [[ -n "$filter_text" ]]; then
filter_text+=" "
rebuild_view
cursor_pos=0
need_full_redraw=true
continue
fi
local idx=$((top_index + cursor_pos)) local idx=$((top_index + cursor_pos))
if [[ $idx -lt ${#view_indices[@]} ]]; then if [[ $idx -lt ${#view_indices[@]} ]]; then
local real="${view_indices[idx]}" local real="${view_indices[idx]}"