summaryrefslogtreecommitdiff
path: root/help.go
diff options
context:
space:
mode:
Diffstat (limited to 'help.go')
-rw-r--r--help.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/help.go b/help.go
index 36731b2..e6294e8 100644
--- a/help.go
+++ b/help.go
@@ -65,7 +65,12 @@ func showHelp() error {
}
}
- help, err := g.SetView("help", maxX-(newW+me.FramePadW), 0, maxX-1, len(helpText)+me.FramePadH, 0)
+ a := maxX - (newW + me.FramePadW)
+ b := me.notify.help.offsetH
+ c := maxX - 1
+ d := me.notify.help.offsetH + len(helpText) + me.FramePadH
+
+ help, err := g.SetView("help", a, b, c, d, 0)
if err != nil {
if !errors.Is(err, gocui.ErrUnknownView) {
return err