aboutsummaryrefslogtreecommitdiffstats
path: root/termui/msg_popup.go
diff options
context:
space:
mode:
authorYang Zhang <yang_zhang@iapcm.ac.cn>2018-12-26 22:49:25 +0800
committerYang Zhang <yang_zhang@iapcm.ac.cn>2018-12-26 22:55:16 +0800
commit3fa2d15fb899c937900083fd7de696599371ce47 (patch)
tree7d8fd43e4eca7dfde65567714d3d35a6bfaf6a65 /termui/msg_popup.go
parent8a6a8055d723e523d9943244b042c778d75b02cc (diff)
downloadgit-bug-3fa2d15fb899c937900083fd7de696599371ce47.tar.gz
Implement displaying CJK contents
Diffstat (limited to 'termui/msg_popup.go')
-rw-r--r--termui/msg_popup.go4
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