budlabs / typiskt

touchtyping training in the terminal
BSD 2-Clause "Simplified" License
28 stars 2 forks source link

printf error message (France locale) #15

Closed teegre closed 2 years ago

teegre commented 4 years ago

Hello! printf complains about invalid numbers when displaying scores. This issue is specific to France, because the separator for floating point numbers is comma instead of dot. Adding LC_ALL=C at the beginning of lines 307, 629 and 630 seems to fix the issue for me.

Best regards.

budRich commented 4 years ago

hanks for this, i will add a fix in the next release (will try to do it tomorrow)