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
terminology-1.4
Boris Faure 5 years ago
parent b37a3eefb6
commit cd8e44e7bb
  1. 2
      tests/colors.sh

@ -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'

Loading…
Cancel
Save