diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-14 08:23:35 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-14 08:23:35 +0300 |
| commit | 2eb861796de41e87de071987ed864b79a0007ab2 (patch) | |
| tree | 65b3a612c9a113d094b97407c04748c2713ddd4b /docs/tutorial/assets | |
| parent | 34d88ba4c82dac2646db27c74e1cafb0c97dbcf2 (diff) | |
wire TUIFastRefreshInterval into dashboard model and update tests
Add fastRefreshMs parameter to NewModelWithConfig so callers can supply
the high-frequency tick cadence for stream and flame tabs. Convert the
streamTickCmd/flameTickCmd package-level functions to model methods that
honour fastRefreshEvery (falling back to the 200 ms constants when zero
for backward-compatibility). Add SetFastRefreshInterval setter so
RunWithTraceStarterConfig can apply cfg.TUIFastRefreshInterval after
construction. Update all 68 test call sites to pass fastRefreshMs=200
and add three new tests covering zero-fallback, stored value, and setter
behaviour.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'docs/tutorial/assets')
0 files changed, 0 insertions, 0 deletions
