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

Method Setup

runtime/ui/view/status.go:54–62  ·  view source on GitHub ↗

Setup initializes the UI concerns within the context of a global [gocui] view object.

(view *gocui.View)

Source from the content-addressed store, hash-verified

52
53// Setup initializes the UI concerns within the context of a global [gocui] view object.
54func (v *Status) Setup(view *gocui.View) error {
55 logrus.Tracef("view.Setup() %s", v.Name())
56
57 // set controller options
58 v.view = view
59 v.view.Frame = false
60
61 return v.Render()
62}
63
64// IsVisible indicates if the status view pane is currently initialized.
65func (v *Status) IsVisible() bool {

Callers 1

LayoutMethod · 0.95

Calls 2

NameMethod · 0.95
RenderMethod · 0.95

Tested by

no test coverage detected