From bcaa22111ac619e317f7adfd60a1fc6bd4db8d29 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 9 Mar 2026 22:54:11 +0200 Subject: tui: export filtered stream rows from global CSV action (task 364) --- internal/tui/dashboard/model.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/tui/dashboard') 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 { -- cgit v1.2.3