summaryrefslogtreecommitdiff
path: root/toolkit/gocui/showMsg.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-16 20:55:13 -0500
committerJeff Carr <[email protected]>2023-04-16 20:55:13 -0500
commit8507235d259e97b0e40dc2d1c5481da22c79bdcc (patch)
treeb082c3e70456ce87e46d1a06ef17a4f50eda9379 /toolkit/gocui/showMsg.go
parent34146ffd1036a3944767f25556a9117d5eaffd0d (diff)
gocui: fake file potential example. can I send this to open()?
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/showMsg.go')
-rw-r--r--toolkit/gocui/showMsg.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/gocui/showMsg.go b/toolkit/gocui/showMsg.go
index f3cd0e7..e749834 100644
--- a/toolkit/gocui/showMsg.go
+++ b/toolkit/gocui/showMsg.go
@@ -45,6 +45,7 @@ func showMsg(g *gocui.Gui, v *gocui.View) error {
fmt.Fprintln(v, l)
}
// g.SetViewOnTop("msg")
- g.SetViewOnBottom("msg")
+ g.SetViewBeneath("msg", "help", 24)
+ // g.SetViewOnBottom("msg")
return nil
}