Skip to content

Commit 74f7d26

Browse files
authored
Merge pull request #62 from evanthegrayt/update-default-color-escape-sequence
Update default color escape sequence
2 parents 03d745d + 3180ca4 commit 74f7d26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cdc.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,10 @@ cdc() {
164164
# are unset, we can't report what they're set to in the debug screen. Pass
165165
# the variables to the _cdc_print function.
166166
if $use_color; then
167-
: ${CDC_ERROR_COLOR:='\e[0;31m'}
168-
: ${CDC_SUCCESS_COLOR:='\e[0;32m'}
169-
: ${CDC_WARNING_COLOR:='\e[0;33m'}
170-
CDC_RESET='\e[0m'
167+
: ${CDC_ERROR_COLOR:='\033[0;31m'}
168+
: ${CDC_SUCCESS_COLOR:='\033[0;32m'}
169+
: ${CDC_WARNING_COLOR:='\033[0;33m'}
170+
CDC_RESET='\033[0m'
171171
##
172172
# If colors are not enabled, unset the color variables.
173173
else

0 commit comments

Comments
 (0)