fix (plugins): enable interpretation of backslash escapes in colors
parent
feb468b517
commit
95b844570f
|
|
@ -8,13 +8,13 @@ function __() {
|
||||||
function __make_ansi() {
|
function __make_ansi() {
|
||||||
next=$1
|
next=$1
|
||||||
shift
|
shift
|
||||||
echo "\[\e[$("__$next" "$@")m\]"
|
echo -e "\[\e[$("__$next" "$@")m\]"
|
||||||
}
|
}
|
||||||
|
|
||||||
function __make_echo() {
|
function __make_echo() {
|
||||||
next=$1
|
next=$1
|
||||||
shift
|
shift
|
||||||
echo "\033[$("__$next" "$@")m"
|
echo -e "\033[$("__$next" "$@")m"
|
||||||
}
|
}
|
||||||
|
|
||||||
function __reset() {
|
function __reset() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue