Filter holds the UI objects and data models for populating the bottom row. Specifically the pane that allows the user to filter the file tree by path.
| 16 | // Filter holds the UI objects and data models for populating the bottom row. Specifically the pane that |
| 17 | // allows the user to filter the file tree by path. |
| 18 | type Filter struct { |
| 19 | gui *gocui.Gui |
| 20 | view *gocui.View |
| 21 | header *gocui.View |
| 22 | labelStr string |
| 23 | maxLength int |
| 24 | hidden bool |
| 25 | requestedHeight int |
| 26 | |
| 27 | filterEditListeners []FilterEditListener |
| 28 | } |
| 29 | |
| 30 | // newFilterView creates a new view object attached the global [gocui] screen object. |
| 31 | func newFilterView(gui *gocui.Gui) (controller *Filter) { |
nothing calls this directly
no outgoing calls
no test coverage detected