display.sh: fixed separator implementation
This commit is contained in:
@@ -130,10 +130,12 @@ separator()
|
|||||||
{
|
{
|
||||||
echo -ne "$BYellow"
|
echo -ne "$BYellow"
|
||||||
local i=0
|
local i=0
|
||||||
for i in {1..$(( $(tput cols) - 1 ))}; do
|
declare -li length=$(( $(tput cols) - 1 ))
|
||||||
|
for i in $(seq 1 $length); do
|
||||||
echo -n "-"
|
echo -n "-"
|
||||||
done
|
done
|
||||||
echo -e "$DEFAULTCOL"
|
echo -e "$DEFAULTCOL"
|
||||||
|
unset i length
|
||||||
}
|
}
|
||||||
export -f separator
|
export -f separator
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user