www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 608a87e203860fca412892b6f0c2110d11b1d19c
parent e618bd368dee51fa094fee2b2e0200d30af98c51
Author: Georges Dupéron <georges.duperon@gmail.com>
Date:   Fri, 29 Jun 2018 23:53:23 +0200

Fixed newlines in slowed down screenshot

Diffstat:
Mutils/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 @@ -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 IFS='' read -n 11 ab; do if test -z "$ab"; then echo; else echo -n "${ab}"; fi; sleep 0.01; done; else cat; echo; fi + | if test "$CI" = "true" -a "$TRAVIS" = "true"; then while IFS=$'\n' read -n 11 ab; do if test "${#ab}" -ne 11; then echo "$ab"; else echo -n "$ab"; fi; sleep 0.01; done; else cat; echo; fi