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:
@@ -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]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user