diff options
author | Yang Zhang <yang_zhang@iapcm.ac.cn> | 2018-12-26 22:49:25 +0800 |
---|---|---|
committer | Yang Zhang <yang_zhang@iapcm.ac.cn> | 2018-12-26 22:55:16 +0800 |
commit | 3fa2d15fb899c937900083fd7de696599371ce47 (patch) | |
tree | 7d8fd43e4eca7dfde65567714d3d35a6bfaf6a65 /termui/msg_popup.go | |
parent | 8a6a8055d723e523d9943244b042c778d75b02cc (diff) | |
download | git-bug-3fa2d15fb899c937900083fd7de696599371ce47.tar.gz |
Implement displaying CJK contents
Diffstat (limited to 'termui/msg_popup.go')
-rw-r--r-- | termui/msg_popup.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/termui/msg_popup.go b/termui/msg_popup.go index 0ce390dc..af752106 100644 --- a/termui/msg_popup.go +++ b/termui/msg_popup.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/MichaelMure/git-bug/util/text" - "github.com/jroimartin/gocui" + "github.com/jesseduffield/gocui" ) const msgPopupView = "msgPopupView" @@ -50,7 +50,7 @@ func (ep *msgPopup) layout(g *gocui.Gui) error { x0 := (maxX - width) / 2 y0 := (maxY - height) / 2 - v, err := g.SetView(msgPopupView, x0, y0, x0+width, y0+height) + v, err := g.SetView(msgPopupView, x0, y0, x0+width, y0+height, 0) if err != nil { if err != gocui.ErrUnknownView { return err |