summaryrefslogtreecommitdiff
path: root/src/tape.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 11:50:43 -0300
committerGabriel Schneider <[email protected]>2026-11-05 15:17:05 -0300
commitecdb0996147f319a4427273bf276e1fc5bf89156 (patch)
tree0b1be457ce4b8ce99db4acd713ff2620cde2d015 /src/tape.zig
parent2bd4066a932ec8fc401e4b85e9f8441b17df3cfb (diff)
downloadpardes-ecdb0996147f319a4427273bf276e1fc5bf89156.tar.gz
pardes-ecdb0996147f319a4427273bf276e1fc5bf89156.zip
effects out, the panel transitions: the eleven Panel words in both tracks go, with the core's Presentation (tracks, the frozen previous grid, cell diffs, the acknowledged-geometry pending guard, and the pointer's mapping through a moving pane, so a pointer's cell is the cell it is over), draw.zig's core-composed character effects, animation.zig's transition half, the Surface's tracks and previous grid, the tty's compositor (src/tui/panel_compositor.zig: the glide's rows move into tui.zig) and the window's track groups, frozen old layers, last-frame image snapshot, transition instance fields and shader paths (ui.vert, ui.frag's crossfade, image.vert and image.frag, the transition-<n>.ppm capture); acknowledgePanelPresentation becomes `presented`, which a frontend calls after drawing a frame (a drag's moving end and a look-hover follow what is under the pointer now), and its tape site with it; the pointer tape site goes; GUI golden 18-mid-transition goes, ttyhelp's golden loses the `SPC a` rows (its wait is on `SPC Y` now), the window monkey loses PanelSlide, and the settings behaviour test's floor of on/off words is ten
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/tape.zig')
-rw-r--r--src/tape.zig13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/tape.zig b/src/tape.zig
index 380cf14e..ad5a1c04 100644
--- a/src/tape.zig
+++ b/src/tape.zig
@@ -61,7 +61,7 @@ pub const Input = union(enum) {
reload_watched_file: struct { id: u8, bytes: []const u8 },
note_late_failure: usize,
invalidate,
- acknowledge_panel_presentation: []const pardes.animation.Track,
+ presented,
run_closed_lines,
file_deleted: u8,
open_view,
@@ -109,7 +109,6 @@ pub const Site = enum(u16) {
shell,
mtime,
cwd,
- pointer,
/// What a terminal's ingest told the positions pardes keeps over it.
positions,
/// Whether a terminal is at its prompt, as a step reads it after its
@@ -131,9 +130,9 @@ pub const results = .{
u32, i64,
[8]u8, ?u64,
[]const u8, ?[]const u8,
- ?std.Io.File.Kind, ?pardes.Presentation.CellPosition,
- ?pardes.filesystem.Resolved, pardes.filesystem.OsReadWrite,
- anyerror!pardes.filesystem.OsStat, anyerror![]const u8,
+ ?std.Io.File.Kind, ?pardes.filesystem.Resolved,
+ pardes.filesystem.OsReadWrite, anyerror!pardes.filesystem.OsStat,
+ anyerror![]const u8,
anyerror![]u8, anyerror!void,
terminal.Told, ?pardes.ctlfs.pty.Printed,
@typeInfo(@TypeOf(terminal.greeting)).@"fn".return_type.?,
@@ -391,7 +390,7 @@ pub const Tape = struct {
/// A host call the headless replica does not make (it draws no frame,
/// so presents none): what the host told the core inside it (what it
- /// presented, `acknowledge_panel_presentation`) is applied all the
+ /// presented, `presented`) is applied all the
/// same, the host's own calls below it stepped over.
fn skipHost(t: *Tape) void {
while (t.diverged == null) {
@@ -618,7 +617,7 @@ pub const Tape = struct {
.reload_watched_file => |a| _ = p.reloadWatchedFile(a.id, a.bytes),
.note_late_failure => |id| p.noteLateFailure(id),
.invalidate => p.invalidate(),
- .acknowledge_panel_presentation => |tracks| p.acknowledgePanelPresentation(tracks),
+ .presented => p.presented(),
.run_closed_lines => pardes.ctlfs.runClosedLines(p),
.file_deleted => |id| pardes.panes.File.deleted(p, id),
.open_view => _ = p.openView(),