diff options
author | Yang Zhang <yang_zhang@iapcm.ac.cn> | 2018-12-26 23:05:58 +0800 |
---|---|---|
committer | Yang Zhang <yang_zhang@iapcm.ac.cn> | 2018-12-26 23:05:58 +0800 |
commit | d31891504d201423f512d897d44dd71b06dad93d (patch) | |
tree | 0d5d5ba5597cb0fcb14a1adcc23ca6eb79c95fe6 /termui/input_popup.go | |
parent | 32b3e263fc8443f6089b9de8fbce833369461982 (diff) | |
parent | 3fa2d15fb899c937900083fd7de696599371ce47 (diff) | |
download | git-bug-d31891504d201423f512d897d44dd71b06dad93d.tar.gz |
Implement almost full CJK support.
Display of CJK contents are supported. Adding CJK tags are problematic.
Diffstat (limited to 'termui/input_popup.go')
-rw-r--r-- | termui/input_popup.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/termui/input_popup.go b/termui/input_popup.go index 3576ba2f..7500168f 100644 --- a/termui/input_popup.go +++ b/termui/input_popup.go @@ -3,7 +3,7 @@ package termui import ( "io/ioutil" - "github.com/MichaelMure/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 |