summaryrefslogtreecommitdiff
path: root/toolkit/gocui/mouse.go
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/gocui/mouse.go')
-rw-r--r--toolkit/gocui/mouse.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/gocui/mouse.go b/toolkit/gocui/mouse.go
index 0ad8e29..591691d 100644
--- a/toolkit/gocui/mouse.go
+++ b/toolkit/gocui/mouse.go
@@ -39,9 +39,9 @@ func layout(g *gocui.Gui) error {
if _, err := g.View("msg"); msgMouseDown && err == nil {
moveMsg(g)
}
- // if v, err := g.SetView("global", -1, -1, maxX, maxY, 0); err != nil {
- // what is this do? I made it just the top 2 lines for now. Is this useful for something?
- if v, err := g.SetView("global", -1, -1, maxX, 2, 10); err != nil {
+ // TODO: figure out what this might be useful for
+ // what is this do? I made it just 2 lines for now. Is this useful for something?
+ if v, err := g.SetView("global", 15, 5, maxX, 8, 10); err != nil {
if !errors.Is(err, gocui.ErrUnknownView) {
log("global failed", maxX, maxY)
return err