summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-12 00:00:14 +0300
committerPaul Buetow <paul@buetow.org>2026-05-12 00:00:14 +0300
commit7226b87d8cd8f74e2771894dda7185406b265f80 (patch)
tree366888ba72399a2033705e3be3dd9b78cdd567d3 /cmd
parent933be1ba2dbb7f6397a4112969bc85a4eac9d155 (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 'cmd')
0 files changed, 0 insertions, 0 deletions