fix (plugins): enable interpretation of backslash escapes in colors

pull/2192/head
Gurkirat Singh 2023-02-10 18:52:01 +05:30
parent feb468b517
commit 95b844570f
1 changed files with 2 additions and 2 deletions

View File

@ -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() {