CLI: Update

This commit is contained in:
Christer Waren
2026-09-20 21:21:58 +03:00
parent 7a1f2c5542
commit 38bf6dced9
+2 -2
View File
@@ -304,7 +304,7 @@ wxiLink() {
} }
wxi-header(){ wxi-header(){
if [[ $2 == "h1" || $2 == "" ]] if [[ $2 == "h1" ]]
then then
#wxi-repeat " " $(($(tput cols)/2-${#1}/2)) #wxi-repeat " " $(($(tput cols)/2-${#1}/2))
echo -n "$wxiBold" echo -n "$wxiBold"
@@ -321,7 +321,7 @@ wxi-header(){
echo -n "$wxiNormal" echo -n "$wxiNormal"
fi fi
if [[ $2 == "h2" ]] if [[ $2 == "h2" || $2 == "" ]]
then then
#wxi-repeat " " $(($(tput cols)/2-${#1}/2)) #wxi-repeat " " $(($(tput cols)/2-${#1}/2))
echo -n "$wxiBold" echo -n "$wxiBold"