From cd8e44e7bb7356a45ac0f4df7b8dc386ad9d48d5 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Wed, 16 Jan 2019 18:49:55 +0000 Subject: [PATCH] tests/colors: use \033 in printf instead of \x1b MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit shall be the same but on ubuntu it's not interpreted (but it is in xterm…) Needs to be investigated --- tests/colors.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/colors.sh b/tests/colors.sh index c48673e3..c9a7639e 100755 --- a/tests/colors.sh +++ b/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'