tests/colors: use \033 in printf instead of \x1b

shall be the same but on ubuntu it's not interpreted (but it is in xterm…)
Needs to be investigated
This commit is contained in:
Boris Faure 2019-01-16 18:49:55 +00:00
parent b37a3eefb6
commit cd8e44e7bb
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ printf 'Grayscale ramp:\n';
for COLOR in $(seq 232 255); do
printf '\033[48;5;%sm ' "${COLOR}"
done
printf '\x1b[0m\n';
printf '\033[0m\n';
# restrict cursor
printf '\033[?6h'