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:
parent
f09309485a
commit
e000620cdf
@ -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)
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user