diff options
Diffstat (limited to 'internal/tui/dashboard')
| -rw-r--r-- | internal/tui/dashboard/model.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/tui/dashboard/model.go b/internal/tui/dashboard/model.go index f551d8f..a35e473 100644 --- a/internal/tui/dashboard/model.go +++ b/internal/tui/dashboard/model.go @@ -951,6 +951,11 @@ func (m Model) ActiveTab() Tab { return m.activeTab } +// ExportStreamCSV exports a fresh filtered snapshot of the stream ringbuffer. +func (m Model) ExportStreamCSV() (string, error) { + return m.streamModel.ExportSnapshotToCSV("") +} + // BlocksGlobalShortcuts reports whether the active tab should suppress a // top-level shortcut for the given key press. func (m Model) BlocksGlobalShortcuts(msg tea.KeyPressMsg) bool { |
