diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-17 00:51:06 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:15:01 -0300 |
| commit | 8f6621f9f70db86d56266a59b56dfb92b324b0d9 (patch) | |
| tree | fb094b45c06f45855dbeb7489552553fb1998d57 /src/panes.zig | |
| parent | 84c2699e22d9660ef5b6de54643c0c78f2e8e855 (diff) | |
| download | pardes-8f6621f9f70db86d56266a59b56dfb92b324b0d9.tar.gz pardes-8f6621f9f70db86d56266a59b56dfb92b324b0d9.zip | |
Term: the replica half and the seam's last reaches: screen_state.zig's terminal half is reached through the interface (Term.encode, Term.encodeRows and Term.untrack on the authority, Term.wasRead and Term.clearRead for the rows a step read, Term.apply with the prompt marks riding a delta, Term.applyRows, Term.shown and Term.blank on a replica, Term.Encoder, Track, Peer and Replica its handles), so replica.zig reaches no emulator state; its kind half (a kind's frame as a Shadow, its strips and Blobs, encodeShadow) is the core's and moves, as it is, with its tests, to Kind.zig beside the Slot it shadows; predicted echo is Term.Echo; the draw entries (Term.recolor, Term.images, Term.petscii, Term.togglePetscii, Term.hasImages, Term.Filter, Term.FilterPalette, Term.palColor) are reached through the interface with their signatures as they were, not yet plain data (Term.zig says so); src/Term.zig is the one file outside src/term/ that imports one inside it (fs.zig embeds terminal.zig's text as a served source), panes.terminal, pardes.screen_state and pardes.echo go, the comments that named ghostty for the emulator say the emulator, and the tests that read emulator state read the records but three (Core.zig's palette, pty.zig's output pin and page limit); the changelog says so; nothing else changes
Diffstat (limited to 'src/panes.zig')
| -rw-r--r-- | src/panes.zig | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/panes.zig b/src/panes.zig index 4f9ac6fc..77246653 100644 --- a/src/panes.zig +++ b/src/panes.zig @@ -1088,8 +1088,6 @@ pub const Dir = @import("Dir.zig"); pub const mini = @import("mini.zig"); -pub const terminal = @import("term/terminal.zig"); - pub const Term = @import("Term.zig"); /// What a pane says when a position kept over its terminal's rows could @@ -1558,7 +1556,6 @@ test { _ = Dir; _ = mini; _ = @import("Kind.zig"); - _ = terminal; } test "owned cwd preserves long paths aliases and failed updates" { @@ -1712,7 +1709,7 @@ test "owned cwd EOF failure retains the pane and Del retries its close" { } test "owned cwd restore either copies the directory or preserves the old core" { - // No terminal: ghostty 1.4's snapshot decode leaks when an allocation + // No terminal: the emulator's (1.4) snapshot decode leaks when an allocation // inside it fails, and this fails every allocation of a Restore in turn // (what pardes's own load made is freed, src/walk.zig rollback). var allocator = std.testing.FailingAllocator.init(std.testing.allocator, .{}); |
