diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-04-07 16:45:55 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-04-07 17:15:01 +1000 |
commit | 0f1abcb10c7ccef2ec287583ea790173c895ae33 (patch) | |
tree | 3ca481febe21a881bbdd0d436ada2d616e111dc3 /pkg/gui/files_panel.go | |
parent | 55538a36959739e07c4f1146571e27093f2b45a0 (diff) |
remove subprocess channel stuff
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r-- | pkg/gui/files_panel.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index 5e89632eb..b0b2db156 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -601,10 +601,6 @@ func (gui *Gui) handleCreateResetMenu(g *gocui.Gui, v *gocui.View) error { } func (gui *Gui) handleCustomCommand(g *gocui.Gui, v *gocui.View) error { - // gui.subProcessChan <- gui.OSCommand.RunCustomCommand(`read -p "Name: " name; echo $name; read -p "Okay: " okay; echo $okay`) - - // return nil - return gui.createPromptPanel(g, v, gui.Tr.SLocalize("CustomCommand"), func(g *gocui.Gui, v *gocui.View) error { command := gui.trimmedContent(v) gui.SubProcess = gui.OSCommand.RunCustomCommand(command) |