diff options
author | davidovski <david@davidovski.xyz> | 2023-12-27 17:56:10 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-12-27 17:56:10 +0000 |
commit | e2727a5550d578912a4cc832e3db0f1b5b0dbe52 (patch) | |
tree | d4182e8942fa79b25b129463ebdd42f9724ccd25 /typr.sh | |
parent | 997d97a847c5f56bef56e7b2ee6e9be32599a304 (diff) |
show wpm after finished0.1
Diffstat (limited to 'typr.sh')
-rwxr-xr-x | typr.sh | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -104,7 +104,13 @@ typr_show_results () { wpm="$((time_ns*words/60000000000))" acc="100%" - printf "[%s;${areax}H%s" "${areay}" "[0;37mwpm" "$((areay+1))" "[0m$wpm" "$((areay+2))" "[0;37macc" "$((areay+3))" + printf "[%s;${areax}H%s" \ + "${areay}" "[0;37mwpm" \ + "$((areay+1))" "[0m$wpm" \ + "$((areay+2))" "[0;37macc" \ + "$((areay+3))" "[0m$acc" \ + "$((areay+4))" "[0;37mtime" \ + "$((areay+5))" "[0m$(typr_get_time)" } typr_generate_text () { |