diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-12 00:00:14 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-12 00:00:14 +0300 |
| commit | 7226b87d8cd8f74e2771894dda7185406b265f80 (patch) | |
| tree | 366888ba72399a2033705e3be3dd9b78cdd567d3 /internal/streamrow | |
| parent | 933be1ba2dbb7f6397a4112969bc85a4eac9d155 (diff) | |
refactor flamegraph model.go: split Update and frameIndexAt below 50-line limit
Extract handleSearchInput and handleKeyNavigation from Update (111 lines → 33),
then split handleKeyNavigation into handleModeKey and handleMovementKey.
Extract frameCoordToTargetRow and findFrameAtRow from frameIndexAt (66 lines → 32).
All new helpers are ≤ 29 lines; behavior is preserved.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/streamrow')
0 files changed, 0 insertions, 0 deletions
