orcnog / autocomplete-whisper

Foundry VTT module to enhance chat whisper targeting with typeahead suggestions
GNU General Public License v3.0
4 stars 2 forks source link

After bracketed list is closed, a subsequent "]" typed in the whisper message triggers unwanted keydown handler #12

Closed orcnog closed 4 years ago

orcnog commented 4 years ago

When syntax for a list of targets is entered, the script listens for a closing bracket "]", and a special keydown handler closes the bracket group and removes the trailing "," delimiter that was automatically output. This keydown listener needs to stop listen after a bracket group is already closed. But it looks like a subsequent "]" typed in the message body is triggering this handler and removing a few of the user's typed message characters with it.

orcnog commented 4 years ago

Fixed in #15