summaryrefslogtreecommitdiff
path: root/internal/tui/msg.go
blob: 47aacb110d84c031e9ca391f49d4d7338367ac26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package tui

import "ior/internal/tui/messages"

// PidSelectedMsg is emitted when the user selects a PID from the process table.
type PidSelectedMsg = messages.PidSelectedMsg

// TidSelectedMsg is emitted when the user selects a TID from the thread table.
type TidSelectedMsg = messages.TidSelectedMsg

// StatsTickMsg carries a fresh immutable snapshot from the stats engine.
type StatsTickMsg = messages.StatsTickMsg

// ExportRequestMsg requests an export of the current UI state.
type ExportRequestMsg = messages.ExportRequestMsg

// TracingStartedMsg signals that tracing started successfully.
type TracingStartedMsg = messages.TracingStartedMsg

// TracingErrorMsg reports an error while starting or running tracing.
type TracingErrorMsg = messages.TracingErrorMsg