aboutsummaryrefslogtreecommitdiff
path: root/modules/coverage-core.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 15:29:33 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 15:29:33 -0400
commit7bee1dd7496933074f264b1fda9a0ec91c81c812 (patch)
treece1f60aa98b3b36b2c04ad1e31032005369a97c1 /modules/coverage-core.el
parentaadfc324361a925e6fa6d5213a2230a2a91168eb (diff)
downloaddotemacs-7bee1dd7496933074f264b1fda9a0ec91c81c812.tar.gz
dotemacs-7bee1dd7496933074f264b1fda9a0ec91c81c812.zip
fix(ai-term): stop F9 toggle shrinking the agent window each cycle
The F9 toggle captured the agent window's body-height and replayed it as body-lines. Body-height subtracts the mode line's pixel height, which differs between an active and an inactive mode line; the agent is captured active but redisplayed inactive, so under a theme whose mode-line-inactive is shorter than a text line the window lost ~1 line per toggle. Capture and replay total-height for the vertical axis instead, via the renamed cj/window-replay-size. Total-height is identical active or inactive and has no mode-line-pixel dependence, so the round-trip is a fixed point. Width keeps body-width (total-width has the position-dependent divider problem that total- height does not). The shared lib fix covers the F12 terminal toggle too. The shrink only manifests in a GUI frame, so it is not reproducible in the batch harness; the unit tests pin the new total-height contract.
Diffstat (limited to 'modules/coverage-core.el')
0 files changed, 0 insertions, 0 deletions