diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-22 10:29:02 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-22 10:29:02 -0300 |
| commit | 6544f73a6b50e5ba68564beea7784593bb54348e (patch) | |
| tree | 4180d5b74cc4c02208b6122618e5b39609b27fc6 /core/surface.zig | |
| parent | 58180ae7574b5050331797f0ead1a1cec753b2ed (diff) | |
| parent | 06d61f097346704452cccd3181da87bb93649bd8 (diff) | |
| download | pardes-6544f73a6b50e5ba68564beea7784593bb54348e.tar.gz pardes-6544f73a6b50e5ba68564beea7784593bb54348e.zip | |
integration: the source view's changes to their last slice on the installed tree: main (`stpnsymm`: pardes-merge55, installed 2026-11-22) and pardes-layers-6 (`rtzmwzsk` on `owsluptw`, on pardes-layers-5: `Churn [window]`: for each declaration the count of the changes in the window that touched it, a cell after the line number and a strip by the scroll thumb from grey to red on a log scale, jj and the parse on the worker; the chords `SPC t c` and `SPC t u`; the manual's chapter "Changes on the source view" and the cheatsheet's rows); no conflict; core-test 915/1079 (164 skipped), shell-test 1121/1124; its gate: .scratch/sketch/reorg/merge56, the numbers in PARDES.md (2026-11-22)
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.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/surface.zig b/core/surface.zig index 653abd82..3ab9a933 100644 --- a/core/surface.zig +++ b/core/surface.zig @@ -151,6 +151,9 @@ pub const max_rail_ticks = 4096; /// 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 }; +/// 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 }; pub const rail_tick_scale = 1024; pub const Chrome = struct { @@ -266,6 +269,9 @@ pub const Surface = struct { /// makes many a temporary Surface, and a safe build fills an array's /// `undefined` in each). lanes: std.ArrayList(Lane) = .empty, + /// Churn's strips by the scroll thumbs, for a pixel shell (in a + /// terminal the rail's cells), as `lanes`. + heat: std.ArrayList(Heat) = .empty, chrome: Chrome = .{}, cells: []Cell = &.{}, /// bar: draw an insert-style thin cursor instead of the block |
