MCPcopy
hub / github.com/wagoodman/dive / KeyHelp

Method KeyHelp

runtime/ui/view/status.go:106–112  ·  view source on GitHub ↗

KeyHelp indicates all the possible global actions a user can take when any pane is selected.

()

Source from the content-addressed store, hash-verified

104
105// KeyHelp indicates all the possible global actions a user can take when any pane is selected.
106func (v *Status) KeyHelp() string {
107 var help string
108 for _, binding := range v.helpKeys {
109 help += binding.RenderKeyHelp()
110 }
111 return help
112}
113
114func (v *Status) Layout(g *gocui.Gui, minX, minY, maxX, maxY int) error {
115 logrus.Tracef("view.Layout(minX: %d, minY: %d, maxX: %d, maxY: %d) %s", minX, minY, maxX, maxY, v.Name())

Callers 1

RenderMethod · 0.95

Calls 1

RenderKeyHelpMethod · 0.80

Tested by

no test coverage detected