vertical scroll margin — stop pinning content to the bottom
spent a few hours trying to solve a dumb problem: claude code always renders at the bottom of the terminal. if you're on a big screen, that means you're looking down the whole time. neck hurts.
things i tried:
- ghostty
window-padding-ywith a large bottom value — squishes the entire grid, everything breaks - shell-level
precmdhack that prints newlines — only works for the bare prompt, doesn't affect tui apps
the ask: some config to keep content in the upper part of the screen. something like verticalScrollMargin: "40%" that just leaves the bottom chunk of the viewport empty.
the layout engine (yoga/ink) already supports padding and margin — so this shouldn't require a rewrite. just a matter of wrapping the content area with some bottom margin based on a user setting.
this matters because people sit in claude code for hours. every other editor has scrolloff for a reason.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗