summaryrefslogtreecommitdiff
path: root/typr.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-12-27 17:56:10 +0000
committerdavidovski <david@davidovski.xyz>2023-12-27 17:56:10 +0000
commite2727a5550d578912a4cc832e3db0f1b5b0dbe52 (patch)
treed4182e8942fa79b25b129463ebdd42f9724ccd25 /typr.sh
parent997d97a847c5f56bef56e7b2ee6e9be32599a304 (diff)
show wpm after finished0.1
Diffstat (limited to 'typr.sh')
-rwxr-xr-xtypr.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/typr.sh b/typr.sh
index 24bcf86..75003be 100755
--- a/typr.sh
+++ b/typr.sh
@@ -104,7 +104,13 @@ typr_show_results () {
wpm="$((time_ns*words/60000000000))"
acc="100%"
- printf "[%s;${areax}H%s" "${areay}" "wpm" "$((areay+1))" "$wpm" "$((areay+2))" "acc" "$((areay+3))"
+ printf "[%s;${areax}H%s" \
+ "${areay}" "wpm" \
+ "$((areay+1))" "$wpm" \
+ "$((areay+2))" "acc" \
+ "$((areay+3))" "$acc" \
+ "$((areay+4))" "time" \
+ "$((areay+5))" "$(typr_get_time)"
}
typr_generate_text () {