chore(menu.sh): invoke the common.sh component

This commit is contained in:
sofia-riese
2026-01-31 17:34:52 +08:00
parent 2536cae8fe
commit 6fd9f9df03
3 changed files with 277 additions and 327 deletions

View File

@@ -113,11 +113,7 @@ content_line() {
END {}
'
}
# function for right side text
# color sould be disabled
content_right() {
content_line "$(printf "%$((${TABLE_WIDTH:-60} - 3))s" "$1")"
}
# function to print sub content lines
# for printing accompanying instructions
sub_content_line() {
@@ -150,5 +146,3 @@ separator_line() {
line_break() {
printf "\n\n"
}

View File

@@ -5,9 +5,6 @@ content_line() {
printf '%b' " $1\n"
}
content_right() {
printf "%$((TABLE_WIDTH - 13))s\n" "$1"
}
sub_content_line() {
content_line " $1"
}
@@ -19,4 +16,3 @@ separator_line() {
line_break() {
return
}