lusakasa / saka-key

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

Non-Unique trie selection options #308

Open fkarg opened 3 years ago

fkarg commented 3 years ago

It sometimes happens that I want to follow a link with a hint with two characters, but as soon as I press the first (e.g. S from a hint SS), I'm sent to an entirely different page, because a hint with the single letter S was generated as well. Here's the bummer: there are a lot of other hints starting with S on the same page.

It's not S specifically, and it doesn't happen often. But it happened for the third time this week just now, so I'd like to fix this. I was searching a bit in the code on where to ensure hint uniqueness, but I gave up before I was able to pinpoint it.