mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 23:11:12 +02:00
getFillText() serves to decouple the text displayed in the auto-complete list via getText() and the text actually filled into the box via getFillText(). This allows us to display command + args on the list but only fill the command part. A Command class has been added to provide some structure when extracting the command name and args. Manually tested and it works.