From b1488d3f61548fd6ae2f690d2aed75f481ff096d Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 2 Sep 2020 02:16:46 +0300 Subject: [PATCH] Enable file path autocompletion for /download and /open --- ui/command-processor.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/command-processor.go b/ui/command-processor.go index 5121c74..a2b0bcf 100644 --- a/ui/command-processor.go +++ b/ui/command-processor.go @@ -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,