From 0f1abcb10c7ccef2ec287583ea790173c895ae33 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sun, 7 Apr 2019 16:45:55 +1000 Subject: remove subprocess channel stuff --- pkg/gui/files_panel.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pkg/gui/files_panel.go') 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) -- cgit v1.2.3