Something that might be significantly easier to technically implement than trying to write a context sensitive implementation of tab-completion could be tab-cycling. So you write TA, hit tab, it suggests TAsho, but you disagree and hit tab again whereupon it cycles to TAlonstrike.
Sorry if this comment is redundant or wrong, I don’t have the time to properly look at the system right now, and check if that comment applies at all. I use cycling like this all the time in like terminal interfaces, and it works nicely. I know you implemented this in instances where you can cycle through colours for “focus” for example.