turbo
b64fa4f2 - fix(tui): Enable mouse capture for all terminals to restore scroll functionality (#11487)

Commit
8 days ago
fix(tui): Enable mouse capture for all terminals to restore scroll functionality (#11487) ## Summary Fixes the scrolling issue reported in #11434 where users couldn't scroll through task logs with their mouse on Windows (especially in VSCode's terminal). ### Problem PR #11418 introduced VSCode terminal detection that skipped `EnableMouseCapture` to prevent mouse event leakage to stdout. However, without mouse capture enabled, crossterm doesn't receive mouse scroll events—the terminal emulator consumes them for its own scrollback buffer instead. ### Solution - Remove VSCode terminal detection entirely - Always enable mouse capture on startup for all terminals - Rely on the proper cleanup code (already in place from #11444) to disable mouse capture on exit This restores mouse scroll functionality while the existing cleanup code handles: - Windows-specific `DisableMouseCapture` requirements - Panic handler terminal state restoration
Author
Parents
Loading