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/ninep | |
| 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/ninep')
| -rw-r--r-- | core/ninep/events.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ninep/events.zig b/core/ninep/events.zig index f1e17324..e18b5d96 100644 --- a/core/ninep/events.zig +++ b/core/ninep/events.zig @@ -1406,14 +1406,14 @@ test "a click in the body reports the offsets of the word it takes, so the recor }) |c| for ([_]pardes.Mouse.Button{ config.look_button, config.exec_button }, [_][]const u8{ c.look, c.exec }) |button, want| { // The pointer rests on the word first, as a hand's does, and // the hover preview comes up under it. - p.panes[id].?.scrollBy(c.scroll); + p.panes[id].?.scrollBy(p.settings.tab, c.scroll); _ = try p.render(frame.allocator()); p.update(.{ .mouse = .{ .button = .none, .kind = .motion, .col = c.x, .row = c.y } }); for (0..200) |_| p.update(.tick); p.update(.{ .mouse = .{ .button = button, .kind = .press, .col = c.x, .row = c.y } }); p.update(.{ .mouse = .{ .button = button, .kind = .release, .col = c.x, .row = c.y } }); try testing.expectEqualStrings(want, call(p, .{ .tag = 2, .op = .read, .node = event, .handle = h, .size = 256 }).bytes); - p.panes[id].?.scrollBy(-c.scroll); + p.panes[id].?.scrollBy(p.settings.tab, -c.scroll); }; // A click on nothing expands to nothing, and acme then says // nothing (look.c:37, exec.c:141). |
