Not deteclting backtick on windows
paoloricciuti opened this issue · 3 comments
I've tryed playing but got stuck on a backtick despite writing the good character combination to get the backtick in Windows.
I would have tryed to reproduce but i can't choose a specific fragment of code and not every piece of code has the backtick.
The issue is definitely here:
coderacer/sveltekit/src/routes/race.svelte
Lines 162 to 187 in 72d7b1d
Handling the keydown event has it's own set of problems. The best solution would be to let the user write in an input (handled by the browser) and use the input event to check for the correctness.
If you want i might try to take a shot at this and open a PR. Let me know.
A PR would be awesome thanks for finding!
I'll try to throw something together as soon as i can. This would in theory allow also for mobile usage if that's what you are after.
It would need a redesign for mobile and I don't think people touch type on mobile so don't think mobile support is necessary