Open nyanpasudo opened 8 years ago
Once user has pressed any key other than TAB, the chat should assume user is no longer "scrolling" through the user list, and should no longer try to scroll through users. (Even if the user presses tab again)
Right now the implementation is not specifically a username autocomplete, but a dictionary score-based search autocomplete. The implementation of this feature would become "select next highest scoring entry" unless it is rewritten.
Scenario:
There are several users in the chat:
If the user enters "da" into the input box, and presses tab, it should autocomplete (either in alphabetical order, or by most frequently autocompleted by user) to a user. (Example: daniel would be the first autocomplete)
Pressing tab again would autocomplete to "dannyboy" and then once again to "dayday"
Once reaching the end of the list, it would cycle back to the first user.