removed legacy set-boxtype()

This commit is contained in:
alanweinstock 2025-02-27 14:44:32 -08:00
parent 9be8761ab8
commit ff843c2e17

View file

@ -2,7 +2,7 @@
# pyr0ball script functions library
# Initial Vars
functionsrev=2.1.1
functionsrev=2.1.2
#scriptname="${BASH_SOURCE[0]##*/}"
#rundir="${BASH_SOURCE[0]%/*}"
#runuser="$(whoami)"
@ -168,7 +168,6 @@ update_terminal_width() {
# Set box width with 1 character margin
BOXWIDTH=$((terminal_width - 1))
}
# Add trap for terminal resize
@ -281,17 +280,6 @@ set-boxtype() {
set_borders "$borderchar" "$borderchar" "$borderchar" "$borderchar" "$borderchar" "$borderchar" "$borderchar" "$borderchar" "-"
}
set-boxtype(){
case $boxtype in
norm) box-norm ;;
double) box-double ;;
heavy) box-heavy ;;
light) box-light ;;
rounded) box-rounded ;;
char) box-singlechar ;;
esac
}
format_boxborder() {
local alignment="left"
local box_type="norm"