SetApp sets the parent app reference for focus management.
(app *App)
| 48 | |
| 49 | // SetApp sets the parent app reference for focus management. |
| 50 | func (nd *NodeDetails) SetApp(app *App) { |
| 51 | nd.app = app |
| 52 | |
| 53 | // Set up input capture for arrow keys and VI-like navigation (hjkl) |
| 54 | nd.SetInputCapture(createNavigationInputCapture(nd.app, nd.app.nodeList, nil)) |
| 55 | } |
| 56 | |
| 57 | // Update fills the node details table for the given node. |
| 58 | func (nd *NodeDetails) Update(node *api.Node, allNodes []*api.Node) { |
nothing calls this directly
no test coverage detected