~Change content_list() > list_box()

This commit is contained in:
juewuy
2026-01-25 18:57:43 +08:00
parent f0eb2fc672
commit 71e4816020
6 changed files with 13 additions and 19 deletions

View File

@@ -42,6 +42,14 @@ btm_box() {
separator_line "="
}
list_box () {
i=1
printf '%s\n' "$1" | while IFS= read -r f; do
content_line "$i) $f$2"
i=$(( i + 1 ))
done
}
# =================================================
common_back() {