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

Fix whitelist issue caused by retrieval list

This commit is contained in:
Tw93
2025-10-14 17:27:38 +08:00
parent 2fa24d3771
commit 6d343194ff
2 changed files with 39 additions and 37 deletions

View File

@@ -191,7 +191,8 @@ paginated_multi_select() {
# Print footer lines wrapping only at separators
_print_wrapped_controls() {
local sep="$1"; shift
local sep="$1"
shift
local -a segs=("$@")
local cols="${COLUMNS:-}"
@@ -485,7 +486,6 @@ paginated_multi_select() {
printf "${clear_line}" >&2
}
# Main interaction loop
while true; do
draw_menu
@@ -499,7 +499,8 @@ paginated_multi_select() {
unset MOLE_READ_KEY_FORCE_CHAR
filter_query=""
applied_query=""
top_index=0; cursor_pos=0
top_index=0
cursor_pos=0
rebuild_view
continue
fi
@@ -625,7 +626,8 @@ paginated_multi_select() {
applied_query="$filter_query"
filter_mode="false"
unset MOLE_READ_KEY_FORCE_CHAR
top_index=0; cursor_pos=0
top_index=0
cursor_pos=0
searching="true"
draw_menu # paint "searching..."