From 3fa2d15fb899c937900083fd7de696599371ce47 Mon Sep 17 00:00:00 2001 From: Yang Zhang Date: Wed, 26 Dec 2018 22:49:25 +0800 Subject: Implement displaying CJK contents --- termui/input_popup.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'termui/input_popup.go') diff --git a/termui/input_popup.go b/termui/input_popup.go index db0ec619..7500168f 100644 --- a/termui/input_popup.go +++ b/termui/input_popup.go @@ -3,7 +3,7 @@ package termui import ( "io/ioutil" - "github.com/jroimartin/gocui" + "github.com/jesseduffield/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) + v, err := g.SetView(inputPopupView, x0, y0, x0+width, y0+height, 0) if err != nil { if err != gocui.ErrUnknownView { return err -- cgit