feat: redesign static text menu

This commit is contained in:
sofia
2026-01-25 12:42:01 +08:00
parent b3fdf16591
commit 5a5b688ad5
4 changed files with 111 additions and 90 deletions

View File

@@ -16,7 +16,8 @@ msg_alert() {
sleep "$_sleep_time"
}
format_box() {
# complete box
comp_box() {
line_break
separator_line "="
for line in "$@"; do
@@ -25,6 +26,16 @@ format_box() {
separator_line "="
}
# bottom box
btm_box() {
for line in "$@"; do
content_line "$line"
done
separator_line "="
}
# =================================================
common_back() {
content_line "0) $COMMON_BACK"
separator_line "="