diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-26 22:59:16 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-26 22:59:16 +0200 |
| commit | dc7478d7dadf544787a9718608f11312bd2ea944 (patch) | |
| tree | dc445798ab132e08d8885672fcca0a37facd25ea /internal/tui/messages | |
| parent | 39a11ed5997a3829751dfbe4b666d3568d466276 (diff) | |
tui: revamp status keys and add pid/tid reselection flow
Diffstat (limited to 'internal/tui/messages')
| -rw-r--r-- | internal/tui/messages/messages.go | 6 |
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 |
