feat(FN-XXXX): scroll TUI panes with mouse wheel
Enable xterm SGR mouse reporting in the dashboard TUI and dispatch wheel events to the focused pane: task detail logs, Git lists (commits/branches/worktrees), and Files view (tree or preview). Mouse mode is enabled after Ink mounts so the leading ESC of wheel reports never arrives alone — avoiding spurious Esc keypresses. We omit motion-tracking modes so terminals still own drag gestures and Shift+drag native text selection keeps working. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
5
.changeset/tui-mouse-wheel-scroll.md
Normal file
5
.changeset/tui-mouse-wheel-scroll.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Add mouse-wheel scrolling to the dashboard TUI. Wheel scrolls the focused pane in the task detail logs, Git view (commits/branches/worktrees lists), and Files view (tree selection or preview viewport depending on focus). Uses xterm SGR mouse reporting (`?1000h` + `?1006h`) without motion tracking so Shift+drag native text selection still works.
|
||||
Reference in New Issue
Block a user