diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-08 22:03:01 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-08 22:03:01 +0200 |
| commit | 0d1492291a3e20665d8a3a6b16d2eb4e13938cee (patch) | |
| tree | ec09f7d660403478d23841cf541bdfa7f33aa70f /internal/tui/messages | |
| parent | d84902555621cc10b16a9641274b088e495f3714 (diff) | |
tui: restore global filter stack and anchored matches
Diffstat (limited to 'internal/tui/messages')
| -rw-r--r-- | internal/tui/messages/messages.go | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/internal/tui/messages/messages.go b/internal/tui/messages/messages.go index 7d0273b..9826e25 100644 --- a/internal/tui/messages/messages.go +++ b/internal/tui/messages/messages.go @@ -1,6 +1,9 @@ package messages -import "ior/internal/statsengine" +import ( + "ior/internal/globalfilter" + "ior/internal/statsengine" +) // PidSelectedMsg is emitted when the user selects a PID from the process table. type PidSelectedMsg struct { @@ -21,6 +24,15 @@ type StatsTickMsg struct { // ExportRequestMsg requests an export of the current UI state. type ExportRequestMsg struct{} +// GlobalFilterRequestedMsg requests applying a new shared TUI filter. +type GlobalFilterRequestedMsg struct { + Filter globalfilter.Filter + Action string +} + +// GlobalFilterUndoRequestedMsg requests popping the latest shared filter layer. +type GlobalFilterUndoRequestedMsg struct{} + // TracingStartedMsg signals that tracing started successfully. type TracingStartedMsg struct{} |
