Files
codewhale/crates
CrepuscularIRIS dde1e5e2f1 fix(tui): default composer_arrows_scroll on when mouse capture is off
On platforms where mouse capture is disabled by default (Windows CMD /
legacy conhost), the terminal sends mouse-wheel events as Up/Down arrow-
key sequences.  Without composer_arrows_scroll those sequences cycle the
input history instead of scrolling the transcript (#1443).

Set the default for composer_arrows_scroll to !use_mouse_capture so that
terminals that forward wheel events as arrows get page-scrolling out of the
box, while terminals with real mouse capture (Windows Terminal, Linux, macOS)
keep the existing history-navigation default.

The explicit [tui] composer_arrows_scroll config key still overrides the
derived default in both directions.

Also enable mouse capture by default for ConEmu/Cmder (ConEmuPID env var),
which handles VT mouse-mode reporting cleanly, giving those users in-app
scrolling without needing --mouse-capture.

Fixes #1443

Signed-off-by: CrepuscularIRIS <serenitygp@qq.com>
2026-05-11 13:09:25 -05:00
..
2026-05-10 20:40:20 -05:00
2026-05-10 20:40:20 -05:00
2026-05-10 20:40:20 -05:00
2026-05-10 20:40:20 -05:00
2026-05-10 20:40:20 -05:00
2026-05-10 20:40:20 -05:00
2026-05-10 20:40:20 -05:00
2026-05-10 20:40:20 -05:00