diff options
author | davidovski <david@davidovski.xyz> | 2022-02-13 22:39:57 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-13 22:39:57 +0000 |
commit | 04e80e5ceadee536ccfe0315c835ac4193a32f84 (patch) | |
tree | a527d69243a639cb39c35179d40d902c3147a80c /test | |
parent | 44542b58bb94727c5708924bd414cc49fd4bafb7 (diff) |
made hbar write to current line by default
Diffstat (limited to 'test')
-rwxr-xr-x | test/hbar.sh | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/test/hbar.sh b/test/hbar.sh index ab0c812..80f6a9c 100755 --- a/test/hbar.sh +++ b/test/hbar.sh @@ -5,19 +5,17 @@ TEXT="Hello there" UNIT="mb" MAX=100 - -echo for x in $(seq $MAX); do ${HBAR} -T "${TEXT}" -u ${UNIT} $x $MAX sleep 0.01 done ${HBAR} -t -T "${TEXT}" -u ${UNIT} $x $MAX -echo 1; echo 2 +hbar for x in $(seq $MAX); do - ${HBAR} -l 1 -T "${TEXT}" -u ${UNIT} $((MAX - x)) $MAX - ${HBAR} -l 2 -T "${TEXT}" -u ${UNIT} $x $MAX + ${HBAR} -l 0 -T "${TEXT}" -u ${UNIT} $((MAX - x)) $MAX + ${HBAR} -l 1 -T "${TEXT}" -u ${UNIT} $x $MAX sleep 0.01 done -${HBAR} -l 1 -t -T "${TEXT}" -u ${UNIT} $((MAX-x)) $MAX -${HBAR} -l 2 -t -T "${TEXT}" -u ${UNIT} $x $MAX +${HBAR} -l 0 -t -T "${TEXT}" -u ${UNIT} $((MAX-x)) $MAX +${HBAR} -l 1 -t -T "${TEXT}" -u ${UNIT} $x $MAX |