1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-10 11:10:18 +02:00

fix windows compilation issue

This commit is contained in:
Jesse Duffield 2021-04-05 22:06:09 +10:00
parent f09309485a
commit e000620cdf
2 changed files with 7 additions and 5 deletions

View File

@ -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)

View File

@ -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)
}