# fix\(web\): anchor to the bottom only once scrollback exists · stienswout/t3code

[View on GitCafe](https://git.cafe/stienswout/t3code/commit/0b3c1fccd91af9d607f14958ecd060add217d2d1)

Repository: [stienswout/t3code](https://git.cafe/stienswout/t3code)

Visibility: public

Requested revision: 0b3c1fccd91af9d607f14958ecd060add217d2d1

Requested commit: 0b3c1fccd91af9d607f14958ecd060add217d2d1

Commit: 0b3c1fccd91af9d607f14958ecd060add217d2d1

Tree: 8c0ff0fdd17952ad2ef0927c183529910e597d2c

Author: Wout Stiens

Committer: Wout Stiens

## Message

```
fix(web): anchor to the bottom only once scrollback exists

A short session showed the bottom-anchor's sub-row slack as a visible
gap above the first line. The grid now stays top-anchored like a fresh
terminal until scrollback exists — the point where the prompt actually
lives on the bottom row and resize stability matters. The origin is
recomputed in the render frame (covering both resize- and
content-driven flips) and still only moves together with a forced full
repaint.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

```

## Parents

- [bba62118ec3838530d3c58b96af3aefa6beb22d2](https://git.cafe/stienswout/t3code/commit/bba62118ec3838530d3c58b96af3aefa6beb22d2?format=markdown)

[Source at this commit](https://git.cafe/stienswout/t3code/tree/0b3c1fccd91af9d607f14958ecd060add217d2d1?format=markdown)
