SSoelvsten / wordrow

A modern version of Text Twist
http://wordrow.io
GNU General Public License v3.0
8 stars 3 forks source link

First occurence of chosen letter is used rather than clicked #71

Closed SSoelvsten closed 1 year ago

SSoelvsten commented 1 year ago

Since the on-click command just runs the type command, then we have some unexpected behaviour when having multiple occurences of the same letter.

Consider the following situation

_ _ _ _ _ _
L E I K P E

If the last E is clicked the following is expected to happen

E _ _ _ _ _
L E I K P _

But, what actually happens is

E _ _ _ _ _
L _ I K P E