lusakasa / saka-key

A keyboard interface to the web
https://key.saka.io
MIT License
860 stars 70 forks source link

ensure hints are only generated from list of unique characters #309

Open fkarg opened 3 years ago

fkarg commented 3 years ago

Early on when using saka-key I created my list of hint characters, and accidentally entered some twice. While I noticed and changed it eventually, this could have been avoided by making sure the list of hintChars only contains unique characters.

I do hope that this is what happens with this change now, but feel free to correct me. I'm not exactly familiar with JS or this codebase.