briano1905 / typings

typings.gg is a sleek and modern typing test website. it support many custom themes
https://typings.gg
GNU General Public License v3.0
763 stars 139 forks source link

add shortcut to reset the text #10

Closed mendelmaleh closed 5 years ago

mendelmaleh commented 5 years ago

It would be nice too to be able to just press enter when completed and starts over, I don't know where that should be in the code tho, I don't know JS that well :man_shrugging:

braydonburn commented 5 years ago

Control + enter does not work on linux (alt + enter does)

mendelmaleh commented 5 years ago

Control + enter does not work on linux (alt + enter does)

It works on my machine (Arch Linux), and I was thinking of making a separate PR for that, two button modifiers are kinda cumbersome... Tho I imagine ctrl combinations are often taken by browsers, and I use alt for my WM... But who said anything about ctrl + enter :sweat_smile:

mendelmaleh commented 5 years ago

If you meant my first comment, I meant just enter with no modifier

briano1905 commented 5 years ago

Hi I appreciate your contribution but have you tried Tab > Enter ?

mendelmaleh commented 5 years ago

Ah well I like overcomplicated solutions xD