diff options
| author | Jeff Carr <[email protected]> | 2023-04-26 09:21:11 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-26 09:21:11 -0500 |
| commit | e0269b216e1bbd04c1f2f8d6f9e6f3140a219870 (patch) | |
| tree | 2c782ca81becbf7ca18f068e3f531b659b2bfe1e /toolkit/gocui/mouse.go | |
| parent | 7af6242cbfbd2d18461415e8421146f94093e8ca (diff) | |
gocui: windows & tabs in seperate rows
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/mouse.go')
| -rw-r--r-- | toolkit/gocui/mouse.go | 6 |
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 |
