diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-05 22:06:09 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | e000620cdfbea44ab2b8928207781bc5fa5d9d5f (patch) | |
tree | c57e03ecfebc92037892cf862e06177a2e728f5c /pkg/gui/pty_windows.go | |
parent | f09309485af6e3578947d647f703029bde90a8fd (diff) |
fix windows compilation issue
Diffstat (limited to 'pkg/gui/pty_windows.go')
-rw-r--r-- | pkg/gui/pty_windows.go | 10 |
1 files changed, 7 insertions, 3 deletions
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) } |