(width, height int)
| 556 | } |
| 557 | |
| 558 | func (m *Model) setSize(width, height int) { |
| 559 | promptWidth := lipgloss.Width(m.Styles.Title.Render(m.FilterInput.Prompt)) |
| 560 | |
| 561 | m.width = width |
| 562 | m.height = height |
| 563 | m.Help.Width = width |
| 564 | m.FilterInput.Width = width - promptWidth - lipgloss.Width(m.spinnerView()) |
| 565 | m.updatePagination() |
| 566 | } |
| 567 | |
| 568 | func (m *Model) resetFiltering() { |
| 569 | if m.filterState == Unfiltered { |
no test coverage detected