fix(scrollback): show tall messages from the top; keep manual scroll position #4

Merged
jmz merged 1 commit from fix/scrollback-tall-messages into release/mirus 2026-10-09 19:17:29 +00:00
Owner

A selected message taller than the viewport was rendered bottom-anchored, so its start was cut off and unreachable (scrolling up was undone by the next redraw while following the latest message; j/k only jump between messages).

  • Tall selected messages are shown from their first line.
  • A manual scroll is remembered until the cursor moves or the view returns to the latest message.

Tests: 2 new scrollback tests; cargo test 191 passed; clippy clean. Deployed on mba.

🤖 Generated with Claude Code

https://claude.ai/code/session_012S3mRY7CzPt8r9zhPWBZjz

A selected message taller than the viewport was rendered bottom-anchored, so its start was cut off and unreachable (scrolling up was undone by the next redraw while following the latest message; j/k only jump between messages). - Tall selected messages are shown from their first line. - A manual scroll is remembered until the cursor moves or the view returns to the latest message. Tests: 2 new scrollback tests; cargo test 191 passed; clippy clean. Deployed on mba. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_012S3mRY7CzPt8r9zhPWBZjz
fix(scrollback): show tall messages from the top; keep manual scroll position
All checks were successful
check / check (pull_request) Successful in 1h20m17s
check / check (push) Successful in 2h37m43s
93d51f1e74
A selected message taller than the viewport was rendered bottom-anchored,
so its beginning was cut off and unreachable: scrolling back up was undone
on the next redraw while following the latest message, and j/k only jump
between messages. Show such a message from its first line instead, and
remember a manual scroll (until the cursor moves or the view returns to the
latest message) so the redraw no longer re-anchors it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012S3mRY7CzPt8r9zhPWBZjz
jmz merged commit 93d51f1e74 into release/mirus 2026-10-09 19:17:29 +00:00
jmz deleted branch fix/scrollback-tall-messages 2026-10-09 19:17:29 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public/iamb!4
No description provided.