summaryrefslogtreecommitdiff
path: root/internal/bpfembed.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-14 08:27:02 +0300
committerPaul Buetow <paul@buetow.org>2026-05-14 08:27:02 +0300
commit2bd75e2218cbc1544a8e4da374805a9853aeb385 (patch)
tree46ab201f74322f8a7f307e046db92da3f538aee4 /internal/bpfembed.go
parent17beb6ba6a739f7323288aeae673dd43f7ee50e5 (diff)
use configurable fastRefreshEvery for InitCmd on flame and stream tabs
Change tabDescriptor.InitCmd from func() tea.Cmd to func(*Model) tea.Cmd so the initial tick for the flame and stream tabs uses the model's fastRefreshEvery interval rather than hardcoded 200 ms constants. Both call sites in Init() and postKeyTransitionCmd() now pass the model pointer. The now-unused streamTickCmdFn/flameTickCmdFn package-level adapters are removed; the TabFlame and TabStream registry entries use inline closures that delegate to m.flameTickCmd()/m.streamTickCmd(). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/bpfembed.go')
0 files changed, 0 insertions, 0 deletions