Scroll off-by-one when pressing Return at bottom of viewport
- Dominant language
- Python
- Stars
- 8
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
> When you're at the bottom of the screen writing and press return, the window needs to scroll 1 line. Feels off by one. Scroll happens after typing first char, which is helpful but it should happen right before then.
## Claude Opus 4.6's Interpretation
When typing at the last visible line and pressing Return, the new line is below the viewport. Scrolling only happens after typing the first character on that line. The scroll should happen immediately when Return creates a new line at or past the viewport bottom.
### Possible solution
- Hook into the Return key or `on_text_area_changed` to check if cursor is below viewport and scroll proactively
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.