[+] color(): add reset and new line

This commit is contained in:
Hykilpikonna
2021-09-16 20:48:15 -04:00
committed by GitHub
parent dd92842feb
commit f7e8ba8e77
+3
View File
@@ -69,6 +69,9 @@ color() {
tmp=$(echo "${tmp//&d/\033[1;35m}")
tmp=$(echo "${tmp//&e/\033[1;33m}")
tmp=$(echo "${tmp//&f/\033[1;37m}")
tmp=$(echo "${tmp//&r/\033[0m}")
newline=$'\n'
tmp=$(echo "${tmp//&n/$newline}")
echo $tmp
}