aboutsummaryrefslogtreecommitdiffstats
path: root/termui/input_popup.go
diff options
context:
space:
mode:
Diffstat (limited to 'termui/input_popup.go')
-rw-r--r--termui/input_popup.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/termui/input_popup.go b/termui/input_popup.go
index 7500168f..3576ba2f 100644
--- a/termui/input_popup.go
+++ b/termui/input_popup.go
@@ -3,7 +3,7 @@ package termui
import (
"io/ioutil"
- "github.com/jesseduffield/gocui"
+ "github.com/MichaelMure/gocui"
)
const inputPopupView = "inputPopupView"
@@ -46,7 +46,7 @@ func (ip *inputPopup) layout(g *gocui.Gui) error {
x0 := (maxX - width) / 2
y0 := (maxY - height) / 2
- v, err := g.SetView(inputPopupView, x0, y0, x0+width, y0+height, 0)
+ v, err := g.SetView(inputPopupView, x0, y0, x0+width, y0+height)
if err != nil {
if err != gocui.ErrUnknownView {
return err