summaryrefslogtreecommitdiff
path: root/src/ninep
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 22:27:44 -0300
committerGabriel Schneider <[email protected]>2026-11-05 23:58:31 -0300
commitf930d53c58187381b2f0df6892546ac1c217c9db (patch)
tree5ca1eea4698b3c14178d2b1ae5d0251c0b884543 /src/ninep
parent71e5a0f4a8685b385fac762995d45575b638179f (diff)
downloadpardes-f930d53c58187381b2f0df6892546ac1c217c9db.tar.gz
pardes-f930d53c58187381b2f0df6892546ac1c217c9db.zip
settings #1, Tagbottom goes, a pane's tag at its head the one value anyone used: layout.bodyTop and tagTop, mouse's seam and clampBorderRow, applyRowSplit, body_layer's copy and the tests' row arithmetic lose their other arm (reads deleted in Core.zig, layout.zig, mouse.zig, draw.zig, gui.zig, macos.zig, whose ABI slot 11 says 0 now, and ninep/events.zig, ninep/tree.zig, look.zig, Messages.zig), with the registry row, SPC t b, Help, /commands, the builtins JSON and the reference row; deleted: the snapshot scripts tagbottom, tagbottomshort and tagbottomimage with their goldens, the behaviour test "placement: under Tagbottom a look from a pane's text goes under its text too", the window scene 10-tagbottom with its gui-goldens line and the macOS parity check tags-bottom; tests that ran both ends of the tag run the head; a dump that kept the field loads without it; perf.zig's harness id moves in the two debug baselines (its reads of the field went); the window scenes after 10-tagbottom (12 to 15, 17) take new gui-goldens lines, the two Tagbottom writes gone from the scene and with them their words on the message row (the base window build running the same scenes gives the same frames); gates on tui: core-test 966/966, behaviour-test 243/243, unit-test 1484/1485, pane-test 171/172, snap all 105 scripts ok, process-test 0 of 37 failed; gui unit-test 1529/1530, gui-golden 0 of 1 failed
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/ninep')
-rw-r--r--src/ninep/events.zig2
-rw-r--r--src/ninep/tree.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ninep/events.zig b/src/ninep/events.zig
index e0a67ad4..a4094e57 100644
--- a/src/ninep/events.zig
+++ b/src/ninep/events.zig
@@ -1374,7 +1374,7 @@ test "a click in the body reports the offsets of the word it takes, so the recor
_ = try p.render(frame.allocator());
const rect = p.rects[id];
const x0 = rect.x + config.GUTTER + config.PREFIX_W;
- const y0 = if (p.settings.tag_bottom) rect.y else rect.y + p.panes[id].?.tag_rows;
+ const y0 = rect.y + p.panes[id].?.tag_rows;
const tab: u16 = config.tab_now;
const Click = struct { x: u16, y: u16, look: []const u8, exec: []const u8, scroll: i32 = 0 };
// Where the wrapped line's `qty` landed, as drawn.
diff --git a/src/ninep/tree.zig b/src/ninep/tree.zig
index a00a8947..1b6c242e 100644
--- a/src/ninep/tree.zig
+++ b/src/ninep/tree.zig
@@ -1434,7 +1434,7 @@ test "filesystem inspection preserves pending and displayed Look hover" {
.button = .none,
.kind = .motion,
.col = rect.x + config.GUTTER + config.PREFIX_W + 7,
- .row = if (p.settings.tag_bottom) rect.y else rect.y + pardes.BOX_H,
+ .row = rect.y + pardes.BOX_H,
} });
try testing.expect(p.look_hover_wait != null);
const body = Node.of(serialOf(p), .body);