commit f0153c9627cb18f31e829139ba2c62d1f20f9352 Author: Kjistóf Date: Sun Oct 8 02:55:26 2017 +0200 initial commit. implemented typing simulation diff --git a/demo.sh b/demo.sh new file mode 100644 index 0000000..1b6a598 --- /dev/null +++ b/demo.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +TYPE_SPEED="${TYPE_SPEED:-15}" +PROMPT_TIMEOUT="${PROMPT_TIMEOUT:-0}" + +function simtyping() +{ pv -qL $(($TYPE_SPEED+$((-2 + RANDOM%5)))); }