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.
| 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. |
| 17 | type 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. |
| 29 | func newStatusView(gui *gocui.Gui) (controller *Status) { |
nothing calls this directly
no outgoing calls
no test coverage detected