diff options
author | davidovski <david@davidovski.xyz> | 2023-12-27 17:56:10 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-12-27 17:58:56 +0000 |
commit | 9ff1c1dba2657557d1d6f5dbf939eb45257a14d4 (patch) | |
tree | 7158a975bb91b2fcb196751b2e7c46a65e931abf /typr.sh | |
parent | 997d97a847c5f56bef56e7b2ee6e9be32599a304 (diff) |
show wpm after finished
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 () { |