diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-17 00:17:45 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:15:01 -0300 |
| commit | 5354090b6122faf0d18e246a55e8a4ead0955394 (patch) | |
| tree | f27fc08bba1ceded6bf315125090ef0b64405463 /src/surface.zig | |
| parent | c742d19d4bacbd9a91627c4859ca8cb0d11bdba7 (diff) | |
| download | pardes-5354090b6122faf0d18e246a55e8a4ead0955394.tar.gz pardes-5354090b6122faf0d18e246a55e8a4ead0955394.zip | |
Term: output and view through the interface: Term.feed takes one read and the rows the core keeps positions on and gives back a Term.Told (where each went, erased or not, cleared, alive, a pin missed), Term.grid is the plain record of the view and the cursor (total, offset, len, the cursor, whether it shows, the view's row or null while it follows), Term.scroll, Term.follow, Term.viewTo, Term.resize (now or for later) and Term.resizeDeferred move it, Term.cellPixels sizes its cells in pixels and Term.replies hands over what it answered its program; the core's half is the core's: Pane.feedOutput and its row tracking (the edit copy's rows, the cursors and selections, their undo and the pointer's rows, gathered as rows and moved as the feed told, ingestWithPositions's core) and Pane.followOutput, Pane.resizeGrid and Pane.panFor in panes.zig with panes.resizeDeferred, the cursor a program shows read from the grid where the body draws it, tape.viewOnly beside tape.authorityOnly; scrollbar, gridOffset, gridCursor, visibleCursor, viewOf, atBottom and their types go; nothing else changes
Diffstat (limited to 'src/surface.zig')
0 files changed, 0 insertions, 0 deletions
