[fix] followup of gocui dependency changes

pull/107/head
Adam Tauber 7 years ago
parent 673749dc6d
commit abb72a2d29

@ -269,7 +269,7 @@ func openEditor(g *gocui.Gui, v *gocui.View, editor string) error {
err = cmd.Run()
// sync termbox to reset console settings
// this is required because the external editor can modify the console
defer g.Execute(func(_ *gocui.Gui) error {
defer g.Update(func(_ *gocui.Gui) error {
termbox.Sync()
return nil
})

Loading…
Cancel
Save