vertical scroll margin — stop pinning content to the bottom

Resolved 💬 3 comments Opened Mar 11, 2026 by arkkln Closed Mar 14, 2026

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-y with a large bottom value — squishes the entire grid, everything breaks
  • shell-level precmd hack 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.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗