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

Struct Status

runtime/ui/view/status.go:17–26  ·  view source on GitHub ↗

Status holds the UI objects and data models for populating the bottom-most pane. Specifically the panel shows the user a set of possible actions to take in the window and currently selected pane.

Source from the content-addressed store, hash-verified

15// Status holds the UI objects and data models for populating the bottom-most pane. Specifically the panel
16// shows the user a set of possible actions to take in the window and currently selected pane.
17type Status struct {
18 name string
19 gui *gocui.Gui
20 view *gocui.View
21
22 selectedView Helper
23 requestedHeight int
24
25 helpKeys []*key.Binding
26}
27
28// newStatusView creates a new view object attached the global [gocui] screen object.
29func newStatusView(gui *gocui.Gui) (controller *Status) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected