1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-06 18:22:58 +00:00

chore: auto format code

This commit is contained in:
Tw93
2026-01-13 02:45:33 +00:00
parent 6b594c7d69
commit 3c8c2b3b98
2 changed files with 21 additions and 21 deletions

View File

@@ -642,7 +642,7 @@ paginated_multi_select() {
[[ $end_idx -ge $visible_total ]] && end_idx=$((visible_total - 1))
for ((i = start_idx; i <= end_idx; i++)); do
local row=$((i - start_idx + 3)) # +3 for header
local row=$((i - start_idx + 3)) # +3 for header
printf "\033[%d;1H" "$row" >&2
local is_current=false
[[ $((i - start_idx)) -eq $cursor_pos ]] && is_current=true
@@ -704,7 +704,7 @@ paginated_multi_select() {
[[ $end_idx -ge $visible_total ]] && end_idx=$((visible_total - 1))
for ((i = start_idx; i <= end_idx; i++)); do
local row=$((i - start_idx + 3)) # +3 for header
local row=$((i - start_idx + 3)) # +3 for header
printf "\033[%d;1H" "$row" >&2
local is_current=false
[[ $((i - start_idx)) -eq $cursor_pos ]] && is_current=true