diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-24 01:43:24 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-24 01:43:40 -0300 |
| commit | ed05c825102ebce7cd1e314226a1c88b8658baef (patch) | |
| tree | 41957f9fb7c5df11389d7872079c6494f47af5ce /core/Core.zig | |
| parent | 0252c830daf6184a9faefa32a7d1f384f5a86b94 (diff) | |
| parent | 59b6ac1bae9cb6720252e1c3e1cc9d4f3a8ab3b1 (diff) | |
| download | pardes-ed05c825102ebce7cd1e314226a1c88b8658baef.tar.gz pardes-ed05c825102ebce7cd1e314226a1c88b8658baef.zip | |
integration: the tree to install next: a view scrolls by ROWS: `main` (pardes-merge66, 0252c830daf6, installed 2026-11-24 01:22) and pardes-row-scroll-3 (`wkxsvmun` on `kyntorlp`, `rymstysv`, `qwssppvo`, on pardes-merge65: a view's top is (line, row within the line's own wrapped rows): a notch is one row through a wrapped line and a wrapped description of the layer, the margin, PageDown/PageUp, `gt`/`gb`, `gw`, `blankRows` and a Look's centring count rows; the wire 35); no conflict; REMOVED HERE: `core/walk.zig.orig`, a patch's leftover that `pvwuwnlk` had added; EXPECTED in its gate and ruled: corpus frame 76 differs (the margin counts rows: the new picture stands) and ten perf counts over tree7 (P85: the view now draws the rows the cursor is on in a wrapped line: deep-sel; the cursor's row found in long lines); its gate: .scratch/sketch/reorg/merge67, the numbers in PARDES.md
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/Core.zig')
| -rw-r--r-- | core/Core.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Core.zig b/core/Core.zig index 4c8aa2eb..1894247d 100644 --- a/core/Core.zig +++ b/core/Core.zig @@ -3871,11 +3871,11 @@ test "raw terminal cursor follows its active row only while that row is visible" try std.testing.expectEqual(rect.x + config.GUTTER + 3, live.x); try std.testing.expectEqual(body_y + 2, live.y); - pane.scrollBy(-1); + pane.scrollBy(p.settings.tab, -1); const scrolled = (try p.render(frame.allocator())).cursor orelse return error.MissingCursor; try std.testing.expectEqual(live.x, scrolled.x); try std.testing.expectEqual(live.y + 1, scrolled.y); - pane.scrollBy(-@as(i32, pane.rows)); + pane.scrollBy(p.settings.tab, -@as(i32, pane.rows)); try std.testing.expect((try p.render(frame.allocator())).cursor == null); pane.followOutput(); const returned = (try p.render(frame.allocator())).cursor orelse return error.MissingCursor; @@ -3929,7 +3929,7 @@ test "tty output follows only from the bottom" { try std.testing.expect(bottom > 0); // Scrolled back, the reader stays put however much the shell prints. - sp.scrollBy(-10); + sp.scrollBy(p.settings.tab, -10); p.sync(); const parked = sp.termTop(); try std.testing.expect(parked < bottom); |
