Nic0/tyrs — comment on commit a3de7113ed2c916b32a00e34c68747ea5a9e68f2
File: src/tyrs/editor.py line 67
By diegoxter:

I think this needs some more conditionals, one for "space" and another one for "delete" keys...
Currently, tyrs will store each letter in a to-be-completed list, and will return the nick depending on which letters
are being matched in the elements of another list containing the nicks, am i right?
But when delete key is pressed, the previous letter is deleted from editor, but not from the to-be-completed list (at least thats what im interpreting here)
and it doesnt get completed because of this error. I.e. "@diej *ups, my bad* (delete key pressed, editor deletes it, the to-be-completed list dont) @dieg (tab key pressed, but there is no @diejg in the nick list)"
same goes for space, when you press it, the to-be-completed list adds an space to the current element, and the error from above happens again...
This is all, of course, just a guess, its what im looking at with this commit P: