summaryrefslogtreecommitdiff
path: root/typr.sh
diff options
context:
space:
mode:
Diffstat (limited to 'typr.sh')
-rwxr-xr-xtypr.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/typr.sh b/typr.sh
index 4517941..1a4c838 100755
--- a/typr.sh
+++ b/typr.sh
@@ -177,17 +177,17 @@ typr_main () {
correct_kp=0
export correct_kp total_kp
- fstart=$(date +%s%N)
+ #fstart=$(date +%s%N)
while true; do
typr_draw_text
# calculate performance
- fend=$(date +%s%N)
- msperframe=$(((fend-fstart)/1000000))
- printf "%6s" "$msperframe"
+ #fend=$(date +%s%N)
+ #msperframe=$(((fend-fstart)/1000000))
+ #printf "%6s" "$msperframe"
c="$(tty_readc)"
- fstart=$(date +%s%N)
+ #fstart=$(date +%s%N)
case "$c" in
''|'') break;;
'')