fix(terminal): a mouse wheel notch pages the CLI's transcript at once

This commit is contained in:
Devvyn committed 2026-10-24 08:46:38 +08:00
1 parent 002de32a08
commit 81beec7b5b
4 files changed
+94 -19

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
'aicodeman': patch
---
A mouse wheel over a Codex pane (and any CLI paged with PageUp/PageDown) now moves the transcript on its first notch. Because the wheel is turned into whole-page keys when the CLI does not track the mouse, it used to send nothing until half a screen of travel had built up: 5 notches in Chrome, 7 on Firefox's 3-line notches, so a short scroll looked dead. The first notch now pays its page at once, as a trackpad flick already did, and the notches after it repay it, so the page rate is unchanged.