(width, height int)
| 205 | } |
| 206 | |
| 207 | func (m *stashModel) setSize(width, height int) { |
| 208 | m.common.width = width |
| 209 | m.common.height = height |
| 210 | |
| 211 | m.filterInput.Width = width - stashViewHorizontalPadding*2 - ansi.PrintableRuneWidth( |
| 212 | m.filterInput.Prompt, |
| 213 | ) |
| 214 | |
| 215 | m.updatePagination() |
| 216 | } |
| 217 | |
| 218 | func (m *stashModel) resetFiltering() { |
| 219 | m.filterState = unfiltered |
no test coverage detected