()
| 183 | } |
| 184 | |
| 185 | func (m *Logs) checkForUpdates() { |
| 186 | version := m.streamer.Version() |
| 187 | if version != m.lastVersion || m.filterText != m.lastFilterText { |
| 188 | m.rebuildContent() |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | func (m *Logs) rebuildContent() { |
| 193 | m.wasAtBottom = m.viewport.AtBottom() || m.lastVersion == 0 |
no test coverage detected