diff --git a/pkg/gui/main_panels.go b/pkg/gui/main_panels.go index 604b90c3a..389a9d783 100644 --- a/pkg/gui/main_panels.go +++ b/pkg/gui/main_panels.go @@ -111,8 +111,6 @@ func (t *runFunctionTask) GetKind() TaskKind { // } func (gui *Gui) runTaskForView(view *gocui.View, task updateTask) error { - gui.Log.Warn("running new task for view") - switch task.GetKind() { case RENDER_STRING: specificTask := task.(*renderStringTask) diff --git a/pkg/gui/pty_windows.go b/pkg/gui/pty_windows.go index 2dbdef924..a8c554e04 100644 --- a/pkg/gui/pty_windows.go +++ b/pkg/gui/pty_windows.go @@ -2,12 +2,16 @@ package gui -import "os/exec" +import ( + "os/exec" + + "github.com/jesseduffield/gocui" +) func (gui *Gui) onResize() error { return nil } -func (gui *Gui) newPtyTask(viewName string, cmd *exec.Cmd, prefix string) error { - return gui.newCmdTask(viewName, cmd, prefix) +func (gui *Gui) newPtyTask(view *gocui.View, cmd *exec.Cmd, prefix string) error { + return gui.newCmdTask(view, cmd, prefix) }