mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-26 23:28:43 +00:00
What the reader is on is the content at the reading line: a text position, taken when their scroll comes to rest. A change in a row before it moves the scroll offset, a change after it does not, and its own row moves the offset by how far the new layout moved it. This replaces the share of a row's height, which moved a code line 121 px when the prose under it wrapped again. It holds for a panel, a narrow window, another font, late content and a reply that streams. It is taken once for each rest, after the next frame has rendered, so the look forces no layout, and at a press or a key that neither scrolls nor types when there is none. A view that follows its end takes none. It is read only from a row whose height the list has applied: a row that changed after its last measurement has its content where the list has not put it yet. Only rows the reader has seen hold still for a row that has not rendered yet. Under a reader who rests where they scrolled, a row that waits for content does not get shorter than the size the list has for it, and is measured again when its marker changes. Below 768px a bar opens above the timeline and the space above the first row gets shorter. The rows keep their place on the screen. A batch resizes the rows that grow first: TanStack stops the offset it believes at the start of the list, and rows that got shorter first ran into that stop. A revealed tool call lets go when the reader's movement adds up, with its sign, to more than a zoomed range rounds. |
||
|---|---|---|
| .. | ||
| ai | ||
| app | ||
| cli | ||
| cli-rs | ||
| client | ||
| codemode | ||
| core | ||
| data | ||
| desktop | ||
| effect-drizzle-sqlite/examples/migrations/20240101000000_create_users | ||
| gui-plugins | ||
| http-recorder | ||
| httpapi-codegen | ||
| identity | ||
| latex | ||
| merman | ||
| nav-menus | ||
| patchmark | ||
| plugin | ||
| plugin-browser | ||
| plugins | ||
| process-daemon | ||
| protocol | ||
| schema | ||
| script | ||
| sdk | ||
| server | ||
| session-ui | ||
| simulation | ||
| stories | ||
| theme | ||
| tui | ||
| ui | ||
| util | ||