Enable file path autocompletion for /download and /open

This commit is contained in:
Tulir Asokan 2020-09-02 02:16:46 +03:00
parent 0aeedd2c43
commit b1488d3f61

View File

@ -111,6 +111,8 @@ func NewCommandProcessor(parent *MainView) *CommandProcessor {
"verify": autocompleteDevice, "verify": autocompleteDevice,
"unverify": autocompleteDevice, "unverify": autocompleteDevice,
"upload": autocompleteFile, "upload": autocompleteFile,
"download": autocompleteFile,
"open": autocompleteFile,
"import": autocompleteFile, "import": autocompleteFile,
"export": autocompleteFile, "export": autocompleteFile,
"export-room": autocompleteFile, "export-room": autocompleteFile,
@ -139,7 +141,7 @@ func NewCommandProcessor(parent *MainView) *CommandProcessor {
"react": cmdReact, "react": cmdReact,
"edit": cmdEdit, "edit": cmdEdit,
"download": cmdDownload, "download": cmdDownload,
"upload": cmdUpload, "upload": cmdUpload,
"open": cmdOpen, "open": cmdOpen,
"copy": cmdCopy, "copy": cmdCopy,
"sendevent": cmdSendEvent, "sendevent": cmdSendEvent,