Merge #771 fix(pi): keep the mouse wheel working after a tab switch or reload

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-11-06 05:00:46 +01:00
commit 4d20b9c898
17 files changed
+172 -49

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"aicodeman": patch
---
pi: the mouse wheel no longer goes dead after a tab switch or reload. pi's fullscreen TUI, the default since 1.0.0, enables mouse tracking once at start, and Codeman's replay dropped that mode in the browser, so the wheel landed in an empty local buffer. pi now takes the same path as Copilot: the server strips the mouse enables and remembers them, and the wheel is forwarded from that record, on the primary pane, tiles, split Pane B and phones. A drag in fullscreen pi now selects text in the browser instead of using pi's own selection. With Wheel Scrolls Local History on, the wheel does nothing in fullscreen pi: the setting pins it to a local buffer pi leaves empty, and pi has no paging fallback. A pi in `tuiMode: regular` is unaffected. Thanks to @Randalix for the report and the fix.