summaryrefslogtreecommitdiff
path: root/internal/tui/messages
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-26 22:59:16 +0200
committerPaul Buetow <paul@buetow.org>2026-02-26 22:59:16 +0200
commitdc7478d7dadf544787a9718608f11312bd2ea944 (patch)
treedc445798ab132e08d8885672fcca0a37facd25ea /internal/tui/messages
parent39a11ed5997a3829751dfbe4b666d3568d466276 (diff)
tui: revamp status keys and add pid/tid reselection flow
Diffstat (limited to 'internal/tui/messages')
-rw-r--r--internal/tui/messages/messages.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/tui/messages/messages.go b/internal/tui/messages/messages.go
index 35232b9..7d0273b 100644
--- a/internal/tui/messages/messages.go
+++ b/internal/tui/messages/messages.go
@@ -7,6 +7,12 @@ type PidSelectedMsg struct {
Pid int
}
+// TidSelectedMsg is emitted when the user selects a TID from the thread table.
+type TidSelectedMsg struct {
+ Pid int
+ Tid int
+}
+
// StatsTickMsg carries a fresh immutable snapshot from the stats engine.
type StatsTickMsg struct {
Snap *statsengine.Snapshot