diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 14:51:32 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 15:29:09 -0300 |
| commit | e20b3ab1db83298a93030faaccf41298f44452a5 (patch) | |
| tree | c607fb067270be02690e2b0fef4ae5b79e9bd11e /src/views.zig | |
| parent | 3205f21d9b5f222f7228aecda36d9d2f3a7742e4 (diff) | |
| download | pardes-e20b3ab1db83298a93030faaccf41298f44452a5.tar.gz pardes-e20b3ab1db83298a93030faaccf41298f44452a5.zip | |
words: the core's names and notes that still told of its motion: Capabilities.lift, named for Lift and said to be its soft shadows, gates what only the SDL window draws (the grip at GripWidth, its own CursorBlink, the Pet) and is Capabilities.pixels now; nextWake, advance, the pump's wait, update's tick and the replica's and views' field notes speak of the core's deadlines and timings where they spoke of its animation (pardes.zig, views.zig, Messages.zig); animationActive keeps its name, as macOS calls it (src/macos.zig, which needs its own change on a Mac); a window test's skip for a build without the capability goes (gui.zig is the window's alone); gates: core-test and behaviour-test on tui, unit-test on gui
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/views.zig')
| -rw-r--r-- | src/views.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/views.zig b/src/views.zig index 7e087523..f54e9eb2 100644 --- a/src/views.zig +++ b/src/views.zig @@ -30,7 +30,7 @@ pub const max = 4; /// The session's fields that are each view's own: its screen and layout, /// its focus, its pointer and gestures, its jumps, its key prefixes, and -/// what drawing it keeps (animations, the presentation of its panels). +/// what drawing it keeps (its frame and its timings). pub const fields = [_][:0]const u8{ "screen_w", "screen_h", "cell_pixels", "row_metrics", "ncol", "col_weight", "col_panes", "col_n", @@ -92,8 +92,8 @@ pub const Parked = struct { }; /// What a session's dump keeps of a view's share: all of it but what -/// drawing keeps (Pardes.replica's local fields: its animations, its -/// panels as presented). +/// drawing keeps (Pardes.replica's local fields: its frame and its +/// timings). const kept = blk: { @setEvalBranchQuota(100_000); var names: []const [:0]const u8 = &.{}; @@ -421,7 +421,7 @@ fn emptied(p: *Pardes, k: u8) void { /// A new view, as the live one is laid out and focused, with its panes /// where they are scrolled and its cursors where they are; the rest of it -/// (column tags, gestures, animations) as a session starts. Null when there +/// (column tags, gestures) as a session starts. Null when there /// are `max` already. pub fn open(p: *Pardes) ?u8 { const k: u8 = for (0..max) |i| { |
