mirror of
https://github.com/tw93/Mole.git
synced 2026-02-16 02:01:11 +00:00
Merge branch 'dev'
This commit is contained in:
@@ -630,9 +630,6 @@ paginated_multi_select() {
|
|||||||
printf "\033[%d;1H" "$((items_per_page + 4))" >&2
|
printf "\033[%d;1H" "$((items_per_page + 4))" >&2
|
||||||
|
|
||||||
prev_cursor_pos=$cursor_pos
|
prev_cursor_pos=$cursor_pos
|
||||||
|
|
||||||
# Drain pending input for smoother fast scrolling
|
|
||||||
drain_pending_input
|
|
||||||
continue # Skip full redraw
|
continue # Skip full redraw
|
||||||
elif [[ $top_index -gt 0 ]]; then
|
elif [[ $top_index -gt 0 ]]; then
|
||||||
((top_index--))
|
((top_index--))
|
||||||
@@ -671,9 +668,6 @@ paginated_multi_select() {
|
|||||||
printf "\033[%d;1H" "$((items_per_page + 4))" >&2
|
printf "\033[%d;1H" "$((items_per_page + 4))" >&2
|
||||||
|
|
||||||
prev_cursor_pos=$cursor_pos
|
prev_cursor_pos=$cursor_pos
|
||||||
|
|
||||||
# Drain pending input for smoother fast scrolling
|
|
||||||
drain_pending_input
|
|
||||||
continue # Skip full redraw
|
continue # Skip full redraw
|
||||||
elif [[ $((top_index + visible_count)) -lt ${#view_indices[@]} ]]; then
|
elif [[ $((top_index + visible_count)) -lt ${#view_indices[@]} ]]; then
|
||||||
((top_index++))
|
((top_index++))
|
||||||
|
|||||||
Reference in New Issue
Block a user