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,
"unverify": autocompleteDevice,
"upload": autocompleteFile,
"download": autocompleteFile,
"open": autocompleteFile,
"import": autocompleteFile,
"export": autocompleteFile,
"export-room": autocompleteFile,
@ -139,7 +141,7 @@ func NewCommandProcessor(parent *MainView) *CommandProcessor {
"react": cmdReact,
"edit": cmdEdit,
"download": cmdDownload,
"upload": cmdUpload,
"upload": cmdUpload,
"open": cmdOpen,
"copy": cmdCopy,
"sendevent": cmdSendEvent,