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:
parent
b37a3eefb6
commit
cd8e44e7bb
|
@ -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…
Reference in New Issue