()
| 729 | } |
| 730 | |
| 731 | func (m *browseModel) mainHeight() int { |
| 732 | footerHeight := strings.Count(m.footerView(), "\n") + 1 |
| 733 | return max(m.height-3-footerHeight, 1) |
| 734 | } |
| 735 | |
| 736 | func (m *browseModel) resizeFilter() { |
| 737 | labelWidth := lipgloss.Width("filter: ") |
no test coverage detected