diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-09 22:54:11 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-09 22:54:11 +0200 |
| commit | bcaa22111ac619e317f7adfd60a1fc6bd4db8d29 (patch) | |
| tree | cef38740e879472b57961f2ddc9694773b202e2c /internal/tui/dashboard/model.go | |
| parent | eb53d7c881b6b8a513c1350736c5f5df770e4089 (diff) | |
tui: export filtered stream rows from global CSV action (task 364)
Diffstat (limited to 'internal/tui/dashboard/model.go')
| -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 { |
