From e2727a5550d578912a4cc832e3db0f1b5b0dbe52 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 27 Dec 2023 17:56:10 +0000 Subject: show wpm after finished --- typr.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 () { -- cgit v1.2.1