From 29dc3d26cf10d8106d75c3bdefeb7a6837d1639a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Fri, 29 Jun 2018 23:41:57 +0200 Subject: [PATCH] Attempt at slowing down the output even more, so that Travis finally stops corrupting the data. --- utils/ansi-screenshots/to_ansi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/ansi-screenshots/to_ansi.sh b/utils/ansi-screenshots/to_ansi.sh index b2a6c46..2fb5696 100755 --- a/utils/ansi-screenshots/to_ansi.sh +++ b/utils/ansi-screenshots/to_ansi.sh @@ -40,4 +40,4 @@ paste "$odd_lines_px" "$even_lines_px" \ | tr '\t\n' ' ' \ | fold -w $((width*6)) \ | sed -r -e 's/([01])([0-7]) ([01])([0-7]) /[\1;3\2;4\4m▀/g' -e 's/$//' \ - | if test "$CI" = "true" -a "$TRAVIS" = "true"; then while read ab; do echo "$ab"; sleep 0.1; done; else cat; echo; fi + | if test "$CI" = "true" -a "$TRAVIS" = "true"; then while IFS='' read -n 1 ab; do if test -z "$ab"; then echo; else echo -n "${ab}"; fi; sleep 0.001; done; else cat; echo; fi