summaryrefslogtreecommitdiff
path: root/core/surface.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-23 01:28:47 -0300
committerGabriel Schneider <[email protected]>2026-11-23 01:28:47 -0300
commit5393ce743d7848d26e60fd7d4d27a4119272df9f (patch)
tree1d3a0f1ad74651bdbfcb6fb740099ebce7de3ed9 /core/surface.zig
parente6dd9c5c3a60e3609e99ab2076b5a2509a014a66 (diff)
parent4bd81bbb42088e9d6f1441094e8feea23064a6c6 (diff)
downloadpardes-5393ce743d7848d26e60fd7d4d27a4119272df9f.tar.gz
pardes-5393ce743d7848d26e60fd7d4d27a4119272df9f.zip
integration: the tree to install: the viewport in the view, a client's way back at an Upgrade, the pair's round 12 and the lanes on the glide: pardes-m61-base (`vzptorpy`: pardes-viewport (`llpwyqul`, the gathered line: a terminal's viewport a view's state, the wire at 31, the terminal put back at a TERM; gated whole as merge59) + pardes-upgrade-back (`krqkqlyo`: a client no longer gives up while its session upgrades; an old build's early rejoin keeps its view) + pardes-pair-12 (`mlutslkp`: a 9P request that changes the core waits for the pty output read before it; the soak with a pair)) and pardes-lane-glide (`nwzurwns` on `nnwosomt`, on pardes-raw-tty: in a window a change's lanes ride their lines' glide, kept with the rows that left, cut to the body); no conflict; core-test 918/1078 (160 skipped), shell-test 1120/1123; its gate: .scratch/sketch/reorg/merge60, the numbers in PARDES.md (2026-11-23)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/surface.zig')
-rw-r--r--core/surface.zig10
1 files changed, 9 insertions, 1 deletions
diff --git a/core/surface.zig b/core/surface.zig
index 3ab9a933..3452bc77 100644
--- a/core/surface.zig
+++ b/core/surface.zig
@@ -150,7 +150,15 @@ pub const max_rail_ticks = 4096;
/// A pinned change's lane on a body row (jj.paint): a pixel shell draws
/// it as a strip in gutter cell `x`, at its `level`'s place (sample A of
/// the ruled design: each a third of a cell wide, half that of air between).
-pub const Lane = struct { x: u16, y: u16, level: u8, rgb: [3]u8 };
+pub const Lane = struct {
+ x: u16,
+ y: u16,
+ level: u8,
+ rgb: [3]u8,
+
+ /// The levels a row shows at most: the ruled gutter fits three.
+ pub const levels = 3;
+};
/// Churn's strip on a rail (jj.railHeat): a pixel shell draws its row of
/// pane `owner`'s rail, beside the track, in `rgb`.
pub const Heat = struct { owner: u8, row: u16, rgb: [3]u8 };